This question already has an answer here:
- How to add a directory to the PATH? 17 answers
Show how you can add /home/<yourusername>/bin to the $PATH variable. Use $HOME (or ~) to
represent your home directory.
|
This question already has an answer here:
Show how you can add |
||||
marked as duplicate by Panther, Thomas Ward♦, Radu Rădeanu, falconer, mikewhatever Jan 8 '14 at 20:51This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. |
||||
|
|
||||
|
To do that you need to type in your terminal:
Where "$HOME/bin" is the directory I assume you want to add. This change is only temporary (it works only in the current session of the shell) to make it permanent add the previous line to your .bashrc file located in your home directory. |
|||||||||||||||||
|
|
Ubuntu (and Debian based distros) automatically add
|
|||||||||||||
|