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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-02-2006, 02:30 AM
|
#1
|
Member
Registered: Dec 2003
Posts: 51
Rep:
|
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.
|
|
|
01-02-2006, 02:51 AM
|
#2
|
Senior Member
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555
Rep:
|
#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.
|
|
|
01-02-2006, 03:01 AM
|
#3
|
Member
Registered: Dec 2003
Posts: 51
Original Poster
Rep:
|
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?
|
|
|
01-02-2006, 04:33 AM
|
#4
|
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181
Rep:
|
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.
|
|
|
01-02-2006, 05:15 AM
|
#5
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
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
|
|
|
01-02-2006, 05:52 PM
|
#6
|
Senior Member
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 02:01 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|