hayne
05-17-2005, 09:34 PM
Read question 5.15 in the Fink FAQ:
http://fink.sourceforge.net/faq/index.php?phpLang=en
madisonDave
05-18-2005, 08:06 AM
Thanx for the reply. I am aware of the script that Fink runs. What is the proper syntax for the shell commands to set the Path variable?
Also, if I want to modify the path for my user should that go into the .profile?
Thank you.
David
hayne
05-18-2005, 09:48 AM
Thanx for the reply. I am aware of the script that Fink runs. What is the proper syntax for the shell commands to set the Path variable?
If you had run Fink's script, it should have modified your shell "dot" files to set up the PATH appropriately. The fact that you asked the question in your original post seems to mean that you haven't run Fink's script. You should.
Once you have Fink's 'init' script in your "dot" file (e.g. ~/.profile) you can make use of its convenient 'prepend_path' and 'append_path' commands to add other directories to your PATH.
Also, if I want to modify the path for my user should that go into the .profile?
Yes - if you are using Terminal.
If you are using xterm (in X11), you probably want to put it in .bashrc or possibly .xinitrc