PDA

View Full Version : Finally...


soundview00
10-02-02, 04:55 PM
I finally got my NVidia drivers to work...DAMD! I have one question though, how do you add a program to your current path under Linux 7.3?

Thanks for your help all.

soundview00

logan
10-02-02, 06:11 PM
use ~/.bashrc, specify 'PATH'.

PATH=$PATH:$HOME/bin
export PATH

or

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

etc. use a ':' to seperate the various dirs.

If you want to do this on a global scale, edit /etc/bashrc.

If yer shell isn't bash, read docs to see where you put such a variable. :P

---

Oops, I didn't see the other post with a reply. :P

soundview00
10-02-02, 09:09 PM
Let me see if I got this straight.

If I want to add /usr/soundview00/bin/ to my systems PATH, then are you saying that I have to type: PATH=/usr/soundview00/bin or PATH=/usr/soundview00/bin:
export PATH

Please help me out a little because I can't seem to get this concept down. As you may have noticed that I am a 100% Linux noobie (trying to drop the Windows OS 100%).

mtrr
10-02-02, 09:14 PM
no, not exacly. open /etc/profile with an editor, at the end of that file add:


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


that's it, upon the next login its done

cheers

soundview00
10-02-02, 09:29 PM
"YOU ARE THE MAN"! Thanks for the help Logan.