LinuxQuestions.org
Register a domain and help support LQ
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 05-26-2004, 10:31 AM   #1
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Rep: Reputation: 30
where to put programs?


Where do you suggest I install programs I use frequently, such as Mozilla Firefox, koptera and so on. Some say that I should put them in /etc, other say /bin.

What do you say?

/total linux n00b
 
Old 05-26-2004, 10:40 AM   #2
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
In /usr/local/bin if you compiled them yourself, or /usr/bin if you got a precompiled program. You'll also have to put the libraries (/usr/local/lib or /usr/lib), data files (/usr/local/share/prog-name or /usr/share/prog-name), and configuration files (/etc or /usr/etc or /usr/local/etc) in the right places as well.
 
Old 05-26-2004, 10:41 AM   #3
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

Rep: Reputation: 31
Hi,
I would suggest neither. Instead use either /opt or /usr/local
These are the 2 standard places for installing programs.

Michael
 
Old 05-26-2004, 10:46 AM   #4
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Original Poster
Rep: Reputation: 30
Thanx. I think I'll go for /usr/local.

Is there a reason for putting the apps there?

/still total n00b
 
Old 05-26-2004, 11:08 AM   #5
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
/usr/local/bin is in all users' PATH (environment variable) so any apps in there can be executed.
 
  


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
Where to put programs? LoafOfBread34 Linux - Newbie 4 11-24-2005 04:07 PM
Best place to put new programs. swamprat Linux - Newbie 5 10-04-2005 09:45 PM
my table with programs when i press in button (left down corner) do no show programs sagi7ario Mandriva 1 03-12-2004 01:02 PM
How do I put my programs in my PATH? grenal Linux - Newbie 2 10-12-2003 04:08 AM
How to put programs in startup emanners Linux - General 2 07-09-2001 03:04 PM


All times are GMT -5. The time now is 12:32 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration