LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-04-2008, 04:08 PM   #1
arash.sani
LQ Newbie
 
Registered: Jan 2008
Location: Vancouver
Distribution: centos
Posts: 1

Rep: Reputation: 0
Yum vs Compile Directory Tree


On my server, I have two copies of httpd apache. one installed by yum and the other compiles from source. But I am only using the one that's been installed by yum. The yum installed directories of httpd is spread out in the whole system for example the binaries are in /usr/sbin, libraries are in /usr/lib64/httpd (its 64-bit environment). but all the directories of the compiled version is under /usr/local/apache2. My friend installed them both. I don't think he knew what was he doing.

I must say that I am only using the yum installed httpd but my question is that how come the directory structure is different and what determines the directory structure. Why sometimes the directories of an application in linux gets scattered in the systems and why sometimes they stay in one place.

Thanks
 
Old 01-04-2008, 04:43 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Hi and welcome to LQ.

There is logic to where files are placed in Linux and Unix OSes. The FHS explains what each directory does in great detail.
 
  


Reply

Tags
directories, httpd, linux


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
Copying a single file into each directory of a directory tree mlapl1 Linux - Newbie 2 06-27-2007 10:18 PM
too long directory tree slack66 Slackware 2 07-15-2006 11:08 PM
permissions for directory tree adamwenner Linux - Security 3 10-23-2004 07:39 AM
Help! How do you delete a directory tree? johnmcollier Linux - Security 0 10-24-2003 02:29 AM
Directory Tree Question GreatMilenko Linux - Security 3 06-02-2002 01:48 PM


All times are GMT -5. The time now is 02:33 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration