Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-04-2008, 05:08 PM   #1
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.

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

Rep: Reputation: 77
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.


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 11:18 PM
too long directory tree slack66 Slackware 2 07-16-2006 12:08 AM
permissions for directory tree adamwenner Linux - Security 3 10-23-2004 08:39 AM
Help! How do you delete a directory tree? johnmcollier Linux - Security 0 10-24-2003 03:29 AM
Directory Tree Question GreatMilenko Linux - Security 3 06-02-2002 02:48 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:09 PM.

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