LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-13-2005, 05:20 PM   #1
fedix
Member
 
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?

Thanks

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

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

Rep: Reputation: 55
installed applications usually go in

/usr/bin
/usr/local/bin

config files usually go in
/etc

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

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

Code:
rm -fr directory-name
Tux,
 
Old 10-13-2005, 07:09 PM   #3
tkedwards
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 mozilla.org) 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: http://www.pathname.com/fhs/pub/fhs-2.3.html
 
Old 10-14-2005, 03:48 PM   #4
fedix
Member
 
Registered: Oct 2005
Location: Mpumalanga, South Africa
Distribution: Fedora / CentOS 5 / Ubuntu
Posts: 100

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


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
Copy Directory Structure Only ronin1 Linux - Newbie 10 06-08-2013 07:23 AM
Copy directory structure? tpe Programming 2 06-02-2005 05:59 AM
"WARNING: Circular directory structure" error when deleting directory pistonbrew Linux - Software 5 02-03-2005 07:05 AM
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 11:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration