LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-19-2003, 07:09 AM   #1
eddacker
LQ Newbie
 
Registered: Nov 2003
Location: Derbyshire, UK
Distribution: Debian Testing
Posts: 14

Rep: Reputation: 0
Question Organizing my file system


Hello,
I have been working with redhat teaching myself linux and using linux.
My problem is with organizing files, applications and such.
If I download a new app in the rpm format where should I file the rpm? or the tar.gz?
where should I file(install) the program? assume two choices: for all users, for single user.
for individual users should I create folders called, for example, text files, archives, reasearch or notes?

I'm just a little confused about how admins organise their filesystems after the installs are done and new things come along.

TIA
eddacker
 
Old 12-19-2003, 07:43 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Quote:
If I download a new app in the rpm format where should I file the rpm? or the tar.gz?
Keep them in a certain place in case you want to install them again. Install RPMs with whatever package manager you use, and install *.tar.gz by decompressing them (tar -xvzf) and reading it's README for instructions.

Last edited by aaa; 12-19-2003 at 11:09 AM.
 
Old 12-19-2003, 07:52 AM   #3
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
There is a standard for this, It's called the FHS that stands for Filesystem Hierarchy standard.

However, I can give you the basics.

/etc is where most systemwide configuration files go
/proc is a funny directory... it's actually a virtual directory... you don't want to mess there (probably can't as user).
/home is where the home direcotries of the users are stored.
/root is the home directory of root
/usr is where most user programs go (like OpenOffice). There are also libraries here and man pages too.
/dev is a virtual direcotry that points to hardware (don't know much abut this one)

Normally programs are installed in /usr (systemwide) or in the user's home directory (for single user).

/bin and /sbin contain binary (executable) files, /sbin is a directory that only root can execute... it has admin binaries (like ifconfig, drakconf/linuxconf/whatever, etc)

/var has the logs and spool of the system (also the sendmail storage).

Ok, here is how I organize my FS: /home/alan is where I have EVERYTHING. downloaded software (rpm, tgz, tar.bz2) goes in /home/alan/downloads, documentation (man pages, pdf books, html tgz, etc) go in /home/alan/download/documentacion. I use the default direcotry for installs (/usr). I try to stick to the FSH as much as I can...

from the FHS TOC
Quote:
3.4 /bin : Essential user command binaries (for use by all users)
3.5 /boot : Static files of the boot loader
3.6 /dev : Device files
3.7 /etc : Host-specific system configuration
3.8 /home : User home directories (optional)
3.9 /lib : Essential shared libraries and kernel modules
3.10 /lib<qual> : Alternate format essential shared libraries (optional)
3.11 /mnt : Mount point for a temporarily mounted filesystem
3.12 /opt : Add-on application software packages
3.13 /root : Home directory for the root user (optional)
3.14 /sbin : System binaries
3.15 /tmp : Temporary files
give it a look... it's interesting reading...
 
  


Reply



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
figuring out 'file system' and 'swap file system' types TrulyTessa Linux - Newbie 3 09-26-2005 06:46 PM
mp3 organizing doralsoral Linux - Software 1 06-16-2005 03:59 PM
Organizing Internet Research vikasgp Linux - Software 2 05-30-2004 11:10 AM
organizing files endezeichen Linux - General 10 04-13-2004 03:21 PM
Organizing the Start Menu JROCK1980 Linux - General 0 02-23-2004 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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