LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-27-2004, 08:22 AM   #1
guarriman
Member
 
Registered: Nov 2004
Posts: 101

Rep: Reputation: 15
Which is the best place to install programs?


Hi.

I'm newbie in this Linux world, and wonder where the best place
to install programs is.

For instance, I installed (as root) Firefox on '/home/my_user/firefox/',
but Acrobat Reader suggested to be installed on '/usr/local/acroreader'.

Which is the best place? Thank you very much.
 
Old 11-27-2004, 08:51 AM   #2
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Rep: Reputation: 35
Probably /usr/local/ is better. It depends on whether you plan to make it available to all users or only to one. If it goes to /home/USERNAME it will be available only to user USERNAME and root. If it is in /usr/local it will be globally available.
I think you should put it in /usr/local .
 
Old 11-27-2004, 08:51 AM   #3
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi there guarriman!

It's a matter of taste, really. However, I would not install anything at /home and most likely, everything at /usr/local/share. Some would say /usr/opt/. Well, whatever you do, put somewhere at /usr/ . By doing so, you just have to install the program once (as Firefox) and all other users will be able to use it. It also makes things much more organized that way too...

But then again, it's all up to you .
 
Old 11-27-2004, 09:03 AM   #4
Slovak
Member
 
Registered: Oct 2004
Location: North Olmsted, Oh
Distribution: Slackware 10
Posts: 206

Rep: Reputation: 30
I would use either the /usr or /opt for installing applications and 3rd party software.
 
Old 11-27-2004, 10:27 AM   #5
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
I think that the Acrobat Reader default is based on other UNIXes that use /usr/local for different things than Linux.

On Linux /usr/local is for manually compiled software, and /opt is for third-party binaries. So /opt.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Best place to put new programs. swamprat Linux - Newbie 5 10-04-2005 08:45 PM
Where is the "proper"(TM) place to install programs from source? Kaamoss Linux - General 12 10-04-2005 07:48 AM
can't even get to the place to install analogg59 Linux - Software 1 07-29-2005 11:33 AM
where's the "right" place to install user programs? zigmund555 Slackware 2 02-09-2004 05:07 AM
Best place to install applications Thomas_Delrue Linux - Software 2 07-10-2001 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:13 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