[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Location
* Darrell Blake (dazblake [at] Btinternet.com) wrote:
> Hi,
>
> How do I get Linux to run programs from /usr/local/bin instead of just
> /usr/bin. I'm using Mandrake 7.2 and for some reason it only uses /usr/bin.
> It's the same for lib. It only uses /usr/lib and doesn't use /usr/local/lib
> too. Please help.
>
Add /usr/local/bin to your $PATH
ie, echo "$PATH = $PATH:/usr/local/bin" >> .bashrc
(and .bash_profile)
for the libs, add /usr/local/lib to /etc/ld.so.conf and run ldconfig (as root).
--
[ Richard Lowe - richlowe - richlowe [at] btinternet.com ]
[ http://www.richlowe.btinternet.co.uk ]
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.