You can also use links:

sudo ln /usr/games/prboom-plus usr/bin/prboom-plus


If you don't want to use links but you want to add that directory to your path instead, you can do this:


export PATH=$PATH:/usr/local/games/


For me, the best solution is to use a text editor on
"/home/YOUR_USER_NAME/.bashrc" (emacs, nano...) and copy-paste
"export PATH=$PATH:/usr/local/games/" in the last line of the file. After that, the enviroment variable will have added the desired directory.

Reply via email to