You are not logged in.

#1 2009-09-17 21:53:53

dragos240
Member
Registered: 2009-05-23
Posts: 189

How do I launch files from /usr/bin/local

I edited my .bashrc. This is it:
PATH=$PATH:/usr/local/bin
export PATH

but I still can't get arch to recognize that directory! I am root by the way.

Offline

#2 2009-09-17 21:59:04

mreschke
Member
Registered: 2009-09-17
Posts: 19

Re: How do I launch files from /usr/bin/local

If your root, make sure that .bashrc file you edited was in the /root/ directory (not your normal /home/username directory). And also, make sure you are not currently in the /usr/local/bin directory.


/mReschke

Offline

#3 2009-09-17 22:27:26

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: How do I launch files from /usr/bin/local

Also the files in /usr/local/bin have to have the executable bit set.


Website - Blog - arch-home
Arch User since March 2005

Offline

#4 2009-09-17 22:37:07

xxxspuddy
Member
Registered: 2007-05-15
Posts: 57

Re: How do I launch files from /usr/bin/local

In addition to the above, have you tried:

source ~/.bashrc

?

Or you could log out and back in then do an

echo $PATH

to make sure your $PATH has been updated.


A temporary file is just a pipe with an attitude and a will to live.

Offline

#5 2009-09-17 23:24:24

dragos240
Member
Registered: 2009-05-23
Posts: 189

Re: How do I launch files from /usr/bin/local

xxxspuddy wrote:

In addition to the above, have you tried:

source ~/.bashrc

?

Or you could log out and back in then do an

echo $PATH

to make sure your $PATH has been updated.

What I did try, was using which to see if it detected my programs. Thanks, I will try this.


Wait, I got it to work!

Last edited by dragos240 (2009-09-18 00:47:46)

Offline

Board footer

Powered by FluxBB