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 03-26-2004, 07:22 AM   #1
sneezesnoeze
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Rep: Reputation: 0
where to install software


Hi

I have developped some software. I was wondering what is the standard path to put software in.

in windows I am using program files/my company/product name

is there a equivalent for this in linux

kind regards
 
Old 03-26-2004, 07:26 AM   #2
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 32
Stuff that's compiled locally on the machine normally goes in /usr/local or occasionally /opt.
 
Old 03-26-2004, 07:45 AM   #3
sneezesnoeze
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Why I am always getting the Idea. That linux is finished and you should not add any software to it. If want to make live easier than you can create scripts but only for use on that particulat machine. Or you make a big mess.

I have software that i want to install on several machines, in a way that is logic. Is there a place ?

I could think of

usr
but as user you do not have much rights there

home/user
is nice to be it needs to be available for all user

opt
could be do not know much about that

kind regards

sneeze
 
Old 03-26-2004, 07:56 AM   #4
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 32
The idea is that you don't install binaries and system files in user's home directories so you can't mess with them (and on a workstation so they can't get accidently fux0red by general usage), although I leave some statically compiled apps in my home dir (eg firefox). If you have a true multi user system then putting apps into each users home dir would be a poor use of disk space and would be a pain to upgrade.

Generally I think you're meant to put most things into /usr/local, it's kind of like c:\program files on winblows.

Check this out: http://www.pathname.com/fhs/
 
Old 03-26-2004, 10:22 AM   #5
uglydot
Member
 
Registered: Mar 2003
Distribution: Gentoo
Posts: 232

Rep: Reputation: 30
Generally /usr/local.
 
Old 03-26-2004, 12:07 PM   #6
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
/usr/local is the normal place, but if the app file structure doesn't comply with the FFSTND then it should to go in /opt/program_name, like KDE on a Slackware system.
 
  


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
cannot install some software txotxo SUSE / openSUSE 2 10-01-2005 01:37 PM
Where do you install software? rcockrell Linux - Software 2 11-01-2004 11:29 PM
where should i install software? iemerick Linux - Newbie 4 07-23-2004 10:35 AM
Where to install software? jess1975 Linux - Newbie 1 07-13-2004 06:11 AM
How to Install software? Silverado2000 Linux - Newbie 6 01-30-2002 09:29 PM

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

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