Did you know LQ has a Linux Hardware Compatibility List?
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 10-13-2005, 04:20 PM   #1
Registered: Oct 2005
Location: Mpumalanga, South Africa
Distribution: Fedora / CentOS 5 / Ubuntu
Posts: 100

Rep: Reputation: 17
Directory Structure

Where does Linux / Fedora Core 4 puts it's
system files
installed application files?

I found that my tar .gz files gets downloaded to my Desktop and if I do the unzip and make from there, it's all done on my Desktop? Where do I need to move the files to?


BTW: How do I remove a directory. rdir and rd doesn't work.

Old 10-13-2005, 04:39 PM   #2
Senior Member
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Rep: Reputation: 55
installed applications usually go in


config files usually go in

You would have to install them so the apps are available system-wide (/usr/bin and /usr/local/bin are system-wide availability locations)

to remove a empty directory

rmdir directory-name
To remove populated directories...and be very careful while using this command as **root**

rm -fr directory-name
Old 10-13-2005, 06:09 PM   #3
Senior Member
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
Programs you install using RPMs usually install into /usr while programs that you compile yourself install into /usr/local (if you run the 'make install' bit as root they'll automatically install into /usr/local). This is for programs that follow the Unix convention of spreading themselves across bin, lib, share... structure. For programs that just install into a single 'program folder' (for example the Firefox that you download from you put them in /opt.

Linux doesn't really have 'system files' or a system directory. The kernel and important boot files live in /boot, basic commands live in /bin and /sbin, system-wide config lives in /etc and most user programs live in /usr. However besides the kernel calling anything else a 'system file' is arbitrary - eg. is samba 'system files' or an application?

Anyway is all described in the File Heirarchy Standard:
Old 10-14-2005, 02:48 PM   #4
Registered: Oct 2005
Location: Mpumalanga, South Africa
Distribution: Fedora / CentOS 5 / Ubuntu
Posts: 100

Original Poster
Rep: Reputation: 17
Thanks everybody. 8rt help!


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
Copy Directory Structure Only ronin1 Linux - Newbie 10 06-08-2013 06:23 AM
Copy directory structure? tpe Programming 2 06-02-2005 04:59 AM
"WARNING: Circular directory structure" error when deleting directory pistonbrew Linux - Software 5 02-03-2005 06:05 AM
directory structure alaios Linux From Scratch 4 04-20-2004 06:16 PM
directory structure sluggo Linux - Newbie 1 01-20-2002 08:15 PM

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