>>SP wrote...
>>>[...]
>>>Welcome to the domain!
>>Thank you, SP. I believe that I will not leave it never (well,
>>never..., when I will not be a newbee ;-))... :-)
>>>>For example I have deduced that /root is the directory for the root
>>>>user (and only for his/her).
>>>>Can someone tell me for what people/system use the rest of the
>>>>directories:
>>>Read this from http://rute.sourceforge.net, it has a chapter dedicated
>>>entirely for thsi purpose, the chapter was written by rusty russell,
>>>afaik.
>>Thank you. This is a great document!. It has almost all that I want to
>>learn!. Thanks.
>>>>And another question: where is the most recomendable directory to put
>>>>local programs for all the users?. For example in
>>>>/home/install_programs (or someone else) or /usr/local/ourprograms?
>>>You'd want them in /usr/local so that you can use them systemwide. it
>>>makes more logical sense too.
By default /usr/local/bin is included in the path of users (unless you've
modified the default).
Quote:>>Okay. But, what is the "systemwide"?. Why you put your programs in
>>/usr/local?
>>Can you explain me it with more details?. Thanks in advance.
'systemwide' basically means available to ALL users. All the files that
exist in user fred's home directory are, for all intents and purposes, local
to him (esp if the directory has permissions 0700 (drwx------), in which
case only he [and root] can access them). However, all the files that exist
in, say, /bin are available for all users to access them, and so are systemwide.
By putting any programs you install (as opposed to coming with the
distribution) into /usr/local, the commands that come with the system don't
get confused with them. (Plus, when it comes to upgrading, as MvdW says
(below), you only need to back up /usr/local & you've got all your
additions. Plus the upgrading may/re-installation will splat over the
system command directories, wiping out any entries you've made.)
Quote:> AFAIK, "/usr/local" is where you put your programs that are "local" to your
> system. I use it to install stuff that didn't come with the distribution.
> Then, if I ever want to reinstall (or upgrade, whatever), I just back up
> /usr/local (in the /usr tree), and I know I haven't missed anything.
> Cheers,
> MvdW