LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-02-2006, 01:30 AM   #1
invinciblegod
Member
 
Registered: Dec 2003
Posts: 51

Rep: Reputation: 15
Installation directory in Linux


I'm been in linux for a while now. However whenever I install things I was always confused where to put it so all accounts can have access. What folder directory is the best install place? Also, is there a document that briefly explains most commonly used linux commands without it being buried in paragraphs of writing? An example would be
"thing.rpm -i = install"

instead of

"thing -i is *&^#$*&^@*#^*&@^$*&^#*&$^#*&$^*&#^$*&#^$*&^#*&$^*&#^$*&#^$*&#^$*&^#*&$^#*&$^*&#^$*&#%^*&!#^$&*#^$*&# ^*&$^#*&$^*&#$^*& and if (*@&^#*#%^$*&^@#*$^*#^$*&$^. Also *(^(#&(#^@(&%)@_%)^)(#*$)#^(%^#)*$&(#&$(*#&*$"

thx.
 
Old 01-02-2006, 01:51 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
#1. The software should get installed to /usr/local/<installed package>
The config might limit who gets access, but it depends largely on what type of application. If its meant for root only, then others shouldn't get to play with it. Usually, you can use the make --prefix=/usr/..... to indicate where the package should be installed to however most people are compiling the apps so you are a the mercy of whomever made the rpm.

#2. I take it you don't like the MAN pages? Usually the online man pages aren't cluttered with useless information. Also the wiki here and using the --help option in the command should tell you what you need, although I've found the --help unforgiving sometimes.
 
Old 01-02-2006, 02:01 AM   #3
invinciblegod
Member
 
Registered: Dec 2003
Posts: 51

Original Poster
Rep: Reputation: 15
How about something like firefox? Should that be installed in usr/local? does this mean non root users cant use it because it the access is limited? If not, then how limited is that folder?
 
Old 01-02-2006, 03:33 AM   #4
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Many programs install automatically to /usr/bin or /usr/local/bin, et cetera. Some, like Firefox, I put in /opt; to some extent it's preference, to some it's convention.
 
Old 01-02-2006, 04:15 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
This "handle" won't work in the Linux world....

Quote:
Originally Posted by invinciblegod
*&^#$*&^@*#^*&@^$*&^#*&$^#*&$^*&#^$*&#^$*&^#*&$^*&#^$*&#^$*&#^$*&^#*&$^#*&$^*&#^$*&#%^*&!#^$&*#^$*&# ^*&$^#*&$^*&#$^*& and if (*@&^#*#%^$*&^@#*$^*#^$*&$^. Also *(^(#&(#^@(&%)@_%)^)(#*$)#^(%^#)*$&(#&$(*#&*$"
thx.
That's just the tip of the iceberg...

Seriously, just take it one step at a time. Also, consider buying an introductory test like, eg, "Linux in a Nutshell", from O'Reilly
 
Old 01-02-2006, 04:52 PM   #6
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Generally if you build something from source it goes in /usr/local (it usually does this by default). Software installed via packages (ie. RPMs) will automatically find their place (/usr for just about all user applications). Programs that install in a single 'program folder' like on Windows would generally go in /opt, the firefox binary install is an example of this.

The FHS has standardised all this: http://www.pathname.com/fhs/pub/fhs-2.3.html
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
default installation directory? behemot Linux - Software 7 08-15-2007 01:01 AM
specifying installation directory in RPM ? Linuxuser_81 Linux - Newbie 1 10-21-2005 08:55 PM
Installation directory Jongi Linux - General 9 10-10-2005 08:09 AM
YUM installation directory DuFF234 Linux - Newbie 6 07-25-2004 07:58 AM
mysql installation directory hrishikesh Linux - Software 4 07-07-2003 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:16 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
Open Source Consulting | Domain Registration