[newbie] Basic Questions

2004-12-03 Thread Mrexecutive
Hello,
i have 2 basic questions:
  1. Where can i find a reference meaning for the directories var, usr,
 dev. I need to know what files are usually are in each so i can
 get a better understanding on how linux uses this file structure.
  2. When installing applications like firefox where do you usually
 install them. Basically what i am asking is where is the Program
 Files directory on a linux system
Thanks!

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Basic Questions

2004-12-03 Thread mikkel

 Hello,

 i have 2 basic questions:

1. Where can i find a reference meaning for the directories var, usr,
   dev. I need to know what files are usually are in each so i can
   get a better understanding on how linux uses this file structure.

http://www.debian.org/doc/packaging-manuals/fhs/

2. When installing applications like firefox where do you usually
   install them. Basically what i am asking is where is the Program
   Files directory on a linux system

 Thanks!


It depends on the program.  Programs needed to start the system are usualy
in /bin and /sbin.  Services started after the system is up, and user
programs are usualy in /usr/bin and /usr/sbin.  Things you install
yourself, that did not come from RPMs should usualy go in /usr/local/bin
and /usr/local/sbin.  I normaly put user specific stuff in
/home/username/bin.

The difference between bin and sbin is that bin is for programs that a
normal user would tipicly use, and sbin is for system programs.  They
usualy require root permission to allow full access, and may do nothing,
or provide information only, when run as a normal user.

This is a highly simplified explination.  See the reference above for a
more detailed one.

Mikkel
-- 
   Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Basic Questions

2004-12-03 Thread Kaj Haulrich
On Friday 03 December 2004 19:41, Mrexecutive wrote:
 Hello,

 i have 2 basic questions:

1. Where can i find a reference meaning for the directories
 var, usr, dev. I need to know what files are usually are in each
 so i can get a better understanding on how linux uses this file
 structure. 

http://www.comptechdoc.org/os/linux/commands/linux_crfilest.html

 2. When installing applications like firefox where do 
 you usually install them. Basically what i am asking is where is
 the Program Files directory on a linux system

Firefox is a little special, at least the non-Mandrake version which 
comes with its own installer.  It installs all its files in one 
directory.  You can choose where, but if you have a multiuser 
system, it it wise to install it under /usr/local.

HTH
Kaj Haulrich.
-- 
*sent from a 100% Microsoft-free workstation*
 * http://haulrich.net *
*Running Linux (Mandrake 10.1) - kernel 2.6.8*


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com