Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-14-2006, 05:57 PM   #1
Registered: Oct 2005
Location: California
Distribution: Ubuntu Feisty
Posts: 52

Rep: Reputation: 15
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,
Old 10-14-2006, 06:09 PM   #2
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 09:30 PM
Starting httpd: /usr/sbin/httpd: symbol lookup error: /usr/local/lib/ bijuhpd Linux - Newbie 1 10-30-2005 06:07 PM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 02:02 AM
Can't move program files to /usr/local/bin/ asburyguy Linux - Newbie 4 04-03-2004 12:53 PM
list of programs in /usr/bin, /sbin, etc. punt Linux - General 1 07-31-2001 05:19 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration