Setting PATH and LD_LIBRARY_PATH for the bash shell

Type the following to see if /usr/local/bin is already in your path:

    echo $PATH

If not then open the .bash_profile file in your home directory and add the following lines:

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

Then type the following to see if /usr/local/lib is in your library loading path:

    echo $LD_LIBRARY_PATH

If not then add the following lines to the .bash_profile file in your home directory:

    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    export LD_LIBRARY_PATH


©1999,2000 Mark Pearson m.pearson@ukonline.co.uk April 30, 2000