You are not logged in.
Pages: 1
When i compile programs from source, the executables always go to "/usr/local/bin" but my user account is set to execute only from /usr/bin/ so i either have to make links or enter the full path.
How can I set my user account to /usr/local/bin?
Or how to i compile programs to make the executables go to /usr/bin/ ?
Last edited by yumyum (2008-10-14 15:58:21)
Offline
The preferred method is to pass --prefix=/usr to everything when you're compiling, then you don't need to worry about stuff going into /usr/local. But, if you'd rather go the other way you can add this to ~/.bashrc
export PATH=$PATH:/usr/local/bin
It will be set every time you log in.
Offline
Thanks!
Offline
Pages: 1