> I'm using bash, so editting the ".profile" file in the user's home directory
> seems to have done the trick for the most part,
You may also want to modify /etc/environment, so that programs
other than Bash get the new PATH as well.

(Your system may call /etc/environment something else.  Look in
/etc/pam.d/login or /etc/security.d/login for pam_env.so for
some ideas)

> although when I invoked
> "man" (as in "man bash") after moving the directory, updating ".profile" and
> re-login,  I get messages akin to "/usr/bin/nroff not found" and
> "/usr/bin/tr not found".
>  * Where, in general, do programs (such as man) get there path information
> from?
In general, it depends on the program.  man, though, usually looks
in /etc/manpath.conf. (man 5 manpath)

> Similarily, I'd like to move the /usr/lib directory to another location.
>  * Should I download src for packages that I'm using and recompile with
> appropriate destinations chosen in the configure scripts?
That might be necessary.  If you're lucky, though, you might be able
to get away with adding the new location of /usr/lib to /etc/ld.so.conf
and the environbment variable LD_LIBRARY_PATH (same syntax as
$PATH).

Your life will almost certainly be drastically easier if you
create a symlink from /usr/lib to the new location...

Steven Smith,
[EMAIL PROTECTED]

Attachment: msg02975/pgp00000.pgp
Description: PGP signature

Reply via email to