[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting PATHs after installtion in Red Hat 6.0
> Does anyone know how to set my PATH and
> LD_LIBRARY_PATH after succesfully compiling
> ns-allinone in Red Hat 6.0.
> Which file should I modify?
This is a question relating to unix shells.
It depends on what shell you use. I use csh (cos that's what I was brought
up on - not cos it's necessarily a good shell) - you can do this n csh
using
setenv LD_LIBRARY_PATH /path/to/directory
this clobbers any value that might have been in LD_LIBRARY_PATH. You can
set your path as follows:
setenv PATH $PATH:/path/to/directory
and this *appends* the new directory to the existing path (the same idea
works with LD_LIBRARY_PATH).
If you're using linux, I'd guess your shell is bash, but I'm not sure how
to do this in bash. Consult the help on setting environment variables.
Sean.
-----
Sean Murphy, Email: [email protected]
Teltec Ireland, Phone: +353-1-7045080
DCU, Dublin 9, Fax: +353-1-7045092
Ireland.