-   Linux - Newbie (
-   -   making files available in /usr/local/bin and /usr/sbin (

reakinator 10-14-2006 05:57 PM

making files available in /usr/local/bin and /usr/sbin

Howe do I make binaries such as fuser and fdisk globally available? They reside in /usr/sbin, which my newly installed FC4 distro doesn't recognize unless I cd to /usr/sbin and type ./fuser etc.

I would also like to be able to make the libraries in /usr/local/lib available...

Thanks if you can help,

cs-cam 10-14-2006 06:09 PM

They need to be added to your path and /etc/ respectively. Add this line to ~/.bash_profile to be able to access fdisk etc:

export PATH="${PATH}:/usr/sbin:/sbin"
and add /usr/local/lib to the end of /etc/ and run ldconfig to add your libraries under /usr/local.

All times are GMT -5. The time now is 04:04 AM.