How-to Edit/Set/Configure the User PATH on Fedora Linux Easy Guide for Beginners

January 19, 2016 | By thelinuxevangelist | Filed in: Tutorial.

PATH Set-Up on Fedora Linux

The Linux Tutorial Shows You Step-by-Step How-to Edit/Amend/Configure/Set-Up/Append-to the User PATH Environment Variable for Fedora 13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29 GNU/Linux.

The PATH environment variable tells Linux where to look for binary files and executable programs in the system.

How-to Edit/Amend/Set-Up/Configure PATH for Fedora Linux - Featured

  1. Open a Shell Terminal emulator window
    Kickoff > Type “kons” > Return
    (Press “Enter” to Execute Commands)

    How-to Edit/Amend/Set-Up/Configure PATH for Fedora Linux -  Kde5 Open  Terminal
  2. Now there are 2 Ways for Including into the PATH

    • 1st: Making a Symlink
      This is a Quick way to append a single Binary into the Path…

      sudo ln -s /[path/2/myBinary] /usr/local/bin/

      If Got “User is Not in Sudoers file” then Look: Solution

      sudo ln -s /opt/eclipse/eclipse /usr/local/bin/

      Then Try if Linux Found it with:

      which [myBinary]

      But if You Do Not have SuperUser Privileges First Append to the PATH a Target inside Your Home following the Step Below and then for each New Entry:

      ln -s /[path/2/myBinary] ~/bin/
    • 2nd: Editing the Bash User’s File
      This is Good to Enter All at Once Multiples Binaries from a Directory into the PATH.

      nano ~/.bashrc

      Append something like:

      export PATH=$PATH:/[path/2/myNewBinaries]

      Or if they are somewere Preminents include its on Top of the queue with:

      export PATH=/[path/2/myNewBinaries]:$PATH

      For Example:

      export PATH=/home/bob/Android/Sdk/tools:$PATH

      To Save the Changes and Exit Hit Ctrl+x ;)
      Then to Load the New PATH simply:


      Check it’s Working:

      which [myBinary]

Tags: , , , , , , , , , , , , , , , , , , , , , ,