You need to add it to your ~/.profile or ~/.bashrc file.
export PATH="$PATH:/path/to/dir"
Depending on what you're doing, you also may want to symlink to binaries:
cd /usr/bin
sudo ln -s /path/to/binary binary-name
Note that this will not automatically update your path for the remainder of the session. To do this, you should run:
source ~/.profile
or
source ~/.bashrc
https://stackoverflow.com/questions/14637979/how-to-permanently-set-path-on-linux-unix
vrijdag 31 augustus 2018
Abonneren op:
Posts (Atom)
Enlarging Libreoffice window completely with command
You can open the LibreOffice window completely by pressing the CTRL+Shift+J keys together.
-
The mount point must be placed in the media folder: /media/porter/mount_point otherwise the file manager won't discover the extra hard ...
-
You can open the LibreOffice window completely by pressing the CTRL+Shift+J keys together.
-
:s/\v(.*)/- \1/g (very magic) :s/\(.*\)/- \1/g The above commands do the same thing: adding a dash before the line. So, Wha...