setenv command?
Hello all,
I would like to know something : I just installed teTeX 3.0 and they say to do a command, and this command is setenv Do you have the setenv command? Is it normal that I dont have it... B/c I have the MAN pages of setenv, but when I type setenv, it says : setenv : command not found Thanx Blue |
According to http://www.computerhope.com/unix/usetenv.htm, setenv is used in the C shell. If you're using the Bash shell, setting an environment variable is done with export. Can you post the info from the TeX docs and someone here should be able to tell you what needs to be done.
|
Quote:
This is the segment of the doc of TeTeX that I dont understand... Well, theres a problem : when I do the PATH=, it works in the terminal ONLY IF I DONT CLOSE IT!!!, but if I open back rxvt, the PATH= is not in set... And the MANPATH= is the same thing... I would like rxvt to ALWAYS know where is the MAN pages of TeX... Thanx guys... Blue |
I assume you're using Bash as your shell... If so, do you want the change made just for yourself? Add the following to the file .bash_profile in your home directory. You'll have to do the same for MANPATH and INFOPATH:
Code:
export PATH=/usr/local/teTeX/bin/i686-pc-linux-gnu:$PATH Code:
for profile_script in /etc/profile.d/*.sh ; do |
Whoa Gilead... ThanX!
Its working... But just another question : I did the "ln -sf /usr/local/teTeX/bin/i686-pc-linux-gnu/* /usr/local/bin" command... But now, I would like to REMOVE the links in /usr/local/bin/... How can I do this? ThanX for Ya Blue |
Running the following will list all of the links in /usr/local/bin. If you don't get any false positives (ie, files you don't want to delete) then you can change the ls -l to rm -f:
Code:
find /usr/local/bin -type l -exec ls -l {} \; |
Real ThanX Gilead, its OK...
All Problems > Resolved ... ;^) |
All times are GMT -5. The time now is 04:54 PM. |