LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   In which file do I have to set path in Fedora 8? (https://www.linuxquestions.org/questions/linux-newbie-8/in-which-file-do-i-have-to-set-path-in-fedora-8-a-690028/)

shyan 12-12-2008 03:44 AM

In which file do I have to set path in Fedora 8?
 
I need to set LD_LIBRARY_PATH environment variable but in which file I don't know, the program have specified the path but not the file as following.
(1)
You MUST put /home/Shyan/temp/ns-allinone-2.33/otcl-1.13, /home/Shyan/temp/ns-allinone-2.33/lib,
into your LD_LIBRARY_PATH environment variable.
If it complains about X libraries, add path to your X libraries
into LD_LIBRARY_PATH.
If you are using csh, you can set it like:
setenv LD_LIBRARY_PATH <paths>
If you are using sh, you can set it like:
export LD_LIBRARY_PATH=<paths>

penguiniator 12-12-2008 04:34 PM

You may want to have a look at http://en.wikibooks.org/wiki/Fedora_...nment_Variable

reddazz 12-12-2008 04:40 PM

You can set the path in your ~/.bash_profile. Add the lines below
Code:

export LD_LIBRARY_PATH=/home/Shyan/temp/ns-allinone-2.33/otcl-1.13;/home/Shyan/temp/ns-allinone-2.33/lib

lazlow 12-12-2008 04:57 PM

Be aware that support for F8 drops on January 7. No further official updates of any kind will be produced after that.


All times are GMT -5. The time now is 01:09 AM.