LinuxQuestions.org
Register a domain and help support LQ
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 10-27-2005, 04:36 PM   #1
bmorency
LQ Newbie
 
Registered: Oct 2005
Posts: 15

Rep: Reputation: 1
directory structure question


hi everyone,

i am pretty new to linux and i just went through building a linux from scratch system. I have the basics installed. i have the basic KDE setup to get it up and running, so i don't really have any management programs yet. I know programs are supposed to be installed in /usr or /usr/local. my question is, what is a good rule to follow when installing software ie: web servers or just general programs like an email client? what software should be installed into /usr and which software should go into /usr/local or does it not really matter ?

if any one needs me to clarify anything let me know.


thanks for any replies.
 
Old 10-27-2005, 05:31 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
there seems to be slightly different logic in what /usr/loca really means. ultimately /usr/bin etc.. is for base system programs, part of the core OS. /usr/local is for customized applications that you'd install yourself, from source etc... the difference comes in that /usr/local would be local to the individual machine when used in a netowrked enviornment. you have 1000 boxes running the same OS, they can therefore share a single /usr directory over NFS for example and run great guns. you then have a space on each machine i.e. /usr/local for local software only. so if you consider local software to be user installed software, then they are kinda identical.

Now on a standalone LFS box, the logic is just gonna fall flat on it's face really.. no networked FS, no distinction between OS and user apps... but it has it's uses.
 
  


Reply


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
General question about directory structure.... Lordandmaker Linux - Newbie 7 11-20-2005 03:57 AM
"WARNING: Circular directory structure" error when deleting directory pistonbrew Linux - Software 5 02-03-2005 07:05 AM
/home directory structure question Dswissmiss Linux - General 2 09-29-2004 12:54 PM
directory structure alaios Linux From Scratch 4 04-20-2004 07:16 PM
directory structure sluggo Linux - Newbie 1 01-20-2002 09:15 PM


All times are GMT -5. The time now is 10:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration