$PATH
in Ubuntu and make the changes permanent?
For complete newbies (like I am) who are more comfortable with GUI:
- Open your HOME folder
- Go to View > Show Hidden Files or press Ctrl + H
- Right click on .profile and click on Open With Text Editor
- Scroll to the bottom and add PATH="$PATH:/my/path/foo"
- Save
- Log out and log back in to apply changes (let Ubuntu actually load .profile)