How do I set PATH variables for all users on a server?
Posted
by
Rob S.
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Rob S.
Published on 2011-02-05T16:51:36Z
Indexed on
2011/02/05
23:33 UTC
Read the original article
Hit count: 308
I just finished installing LaTeX for my company's Ubuntu server that we all SSH into to use. At the end of the install it says this:
Add /usr/local/texlive/2010/texmf/doc/man to MANPATH, if not dynamically determined.
Add /usr/local/texlive/2010/texmf/doc/info to INFOPATH.
Most importantly, add /usr/local/texlive/2010/bin/x86_64-linux to your PATH for current and future sessions.
So, my question is simply: How do I do this so that these variables are set for all users on the system? (And yes, I have sudo permissions).
Thanks in advance to any and all responses I receive.
© Ask Ubuntu or respective owner