PATH Set-Up on Debian Linux
The Linux Tutorial Shows You Step-by-Step How-to Edit/Amend/Configure/Set-Up/Append-to the User PATH Environment Variable for Debian 6-Squeeze/7-Wheezy/8-Jessie/9-Stretch GNU/Linux.
The PATH environment variable tells Linux where to look for binary files and executable programs in the system.
Open a Shell Terminal emulator window
(Press “Enter” to Execute Commands)
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:
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.
Append something like:
Or if they are somewere Preminents include its on Top of the queue with:
To Save the Changes and Exit Hit Ctrl+x ;)
Then to Load the New PATH simply:
Check it’s Working:
Tags: Debian, debian linux, Debian tip, debian tutorial, edit Debian path, edit linux path, gnu, gnu linux, gnu linux tutorial, gnu/linux, Guide, How-to, how-to debian, How-to Linux, Linux, linux guide, linux path, Linux Tutorial, path, set Debian path, set linux path, Tip, Visual-Guide