-   Linux - Newbie (
-   -   Directory Structure (

fedix 10-13-2005 04:20 PM

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.


tuxrules 10-13-2005 04:39 PM

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

tkedwards 10-13-2005 06:09 PM

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:

fedix 10-14-2005 02:48 PM

Thanks everybody. 8rt help!

All times are GMT -5. The time now is 07:47 PM.