How to add a directory to the path

The path is a privileged set of directories in which the system finds the executables and libraries necessary to its work. If you want to add a directory to the path do like this:

PATH=$PATH:/directory/to/add ; export PATH