[SlugBug] where to put applications

James Wallbank james at lowtech.org
Sat Aug 23 12:28:55 BST 2003


Hi Paul,

in general, the logic for where applications might go is this:

/bin = core operating system utilities and commands, installed when the
machine is first configured.
/sbin = core operating system utilities, commands that will only ever be
used by the superuser, installed when the machine is first configured.
/usr/bin = applications programs that a user might use, installed when
the machine is first configured.
/usr/sbin = applications programs that only superuser might use,
installed when the machine is first configured.
/usr/local/bin = applications programs that a user might use, installed
after the machine has been configured.

There is a /usr/local/sbin, and various other places where apps might be
stored, but they are seldom relevant. So the answer to your question
(most likely) is /usr/local/bin

Bear in mind that any place can be used as a location for applications
if it is "on the path" - i.e. is going to be sought out and found by the
OS if you don't tell it where it is on the command line.

To get an idea of "the path" type "which gimp" (or another program you
have installed) and look at the output. Now type "which nonexistantapp"
and see the difference. Try "which ifconfig". Doesn't work? Try becoming
superuser then type it again. Getting it yet?

Cheers,

James
=====
-- 
James Wallbank
Redundant Technology Initiative
Access Space - 1 Sidney Street - Sheffield - S1 4RG - UK
T: +44 (0)114 2495522
F: +44 (0)114 2495533


More information about the SlugBug mailing list