To set PATH for all users.

1. Open the terminal application and type the following
sudo gedit /etc/environment
2. Modify the file in gedit by adding path directories.
3. Save the file and quit.
4. On the terminal application type
source gedit /etc/environment to load the new path from the environment file.
5. Echo out the new Path echo $PATH