[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Location



On Thu, May 24, 2001 at 04:42:16PM +0100, Darrell Blake 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.

	If it's for a one off, provide the full path:
	/usr/local/bin/proggy
	if you want it like that for ever and ever, add the directory to
your path (in either .bashrc or .profile):
	export PATH=$PATH:/usr/local/bin

	Hth,
	José
-- 
José L Gómez Dans			PhD student
Tel: +44 114 222 5582			Radar & Communications Group
FAX; +44 870 132 2990			Department of Electronic Engineering
					University of Sheffield 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.