Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 06-11-2004, 05:31 PM   #1
LQ Newbie
Registered: Jun 2003
Posts: 11

Rep: Reputation: 0
Programs how to orgranisize


Well i am back to linux again and i got some questions. I am wondering how the Linux system works with programs. For example with Windows you will install most programs in c:\Program Files\ but how does this work in Linux ? I have no clue to organize my Linux/hda what ever. What is a standard path were you install your programs like Amsn etc, and where do you leave your mp3 stuff.

Could some maybe explain this to me.

Thnx in advance !

/me signs out
Old 06-11-2004, 05:48 PM   #2
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Depends on the installer. There are a number of places programs can be installed to...


As for your files, they go in your home directory... /home/user_name . If you have files you want to share betwixt users, I normally make a /home/shared directory.
Old 06-11-2004, 05:59 PM   #3
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I think precompiled packages go wherever they want to. When you compile, you have more control. But, in essence, Windows groups files by programs (with plenty of other random scattered crap in WINDOWS\System32 and Documents and Settings\WhoozitsData or wherever (I forget). Linux stores files according to function. Some things go into /opt akin to 'Program Files' but mostly, as ranger-nemo says, the executables go in */bin - the configs go in */etc and ~, the docs in */doc, and so on.

So it's more on which filesystem - standard is to leave /bin and /sbin to the system, as well as /usr/(s)bin and so on. Mostly you'd want to install with a prefix of /usr/local which means most stuff gets distributed under that directory tree. But you can install them to somewhere in $HOME such as ~/bin or wherever you want. (Most binary packages install the executables in /usr/bin, though.)

The cool thing is that /usr/local can be on its on partition (safe if you need to reformat a piece of the disk) and Linux distros don't touch it as a rule.

And, yeah, your personal files should go under /home/your_user_name. Even there, /home used to be under /usr, I think, and I've had it under /usr/local/home before. You can do whatever you want but the path of least resistance and least complications is to go with defaults - my junk in ~; programs with '--prefix=/usr/local'. The *nix fs is actually pretty cool and will make sense after awhile if it doesn't now.
Old 06-11-2004, 05:59 PM   #4
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
Essential reading for windows-refugees :}

Old 06-12-2004, 05:04 AM   #5
LQ Newbie
Registered: Jun 2003
Posts: 11

Original Poster
Rep: Reputation: 0

Thnx getting more a view of it.

You will hear from me sometimes again

Big thnx

Greetzz SyM


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
Are these programs - or equivalent programs - available for Linux? voly Linux - Software 12 07-29-2005 02:44 AM
my table with programs when i press in button (left down corner) do no show programs sagi7ario Mandriva 1 03-12-2004 12:02 PM
unable to add programs from add/remove programs dav7500 Linux - Software 2 02-26-2004 07:25 PM
How to get newly installed programs in programs list Brosky Linux - Software 5 02-06-2004 03:45 PM
What are some 'must have' programs? SuSE_Surfer Linux - General 11 10-24-2003 05:34 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:53 AM.

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