LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-09-2003, 07:14 AM   #1
tentonipete
LQ Newbie
 
Registered: May 2003
Distribution: Slackware 9.0
Posts: 26

Rep: Reputation: 15
Where do I put the software?


This probably makes me sound really stupid. I have downloaded things, compiled and installed them (mozilla firebird for example) put them somewhere and i can run them. I just want to know what the linux equivalent of program files is so I can put an application there and everyone can use it. Do you need to move the binaries to a different directory?

thanks.
 
Old 07-09-2003, 07:44 AM   #2
aizkorri
Member
 
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Blog Entries: 1

Rep: Reputation: 45
Hi, binaries are usually located in /usr/bin /usr/local/bin,...when you install them. If you want users to execute any of them you have to add these directories to their PATH (they should be there by default). If even doing that they cannot execute some binary you should change the permissions, but it usualy happens with apps that should not be executed by normal users.
 
Old 07-09-2003, 08:10 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
some programs that consist of many files install in
/usr/lib/<program> and put a symlink in /usr/local/bin
/usr is the equivalent of "Program Files"
sometimes /opt
 
Old 07-09-2003, 08:24 AM   #4
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
FireBird is a bit of an odd app, in Linux terms.

I normally put it in /opt/firebird
 
Old 07-09-2003, 08:59 AM   #5
tjm
Member
 
Registered: Oct 2002
Posts: 55

Rep: Reputation: 15
Generally speaking applications install themselves to /usr/bin and /usr/local/bin, but there is no enforced Linux equivalent of Program Files.

If you install by RPM then the command rpm -e [package name] will uninstall the application.

If you compile the app yourself, and then install, then it is less obvious. Lots of source packages give you instructions on installation like this:
./configure
make
make install

These are standard autoconf? packages. Usually you can remove them with the command 'make remove' (from within the source directory). If you deleted the source directory, just untar it again, type './configure' and then 'make remove'. Just make sure that if you gave configure any arguments first time around, that you give the same ones this time.

Anyway, that is what I do.

Cheers,

-TJM
 
Old 07-09-2003, 09:08 AM   #6
gbbenson
LQ Newbie
 
Registered: Jan 2003
Location: Munich, Germany
Distribution: Linux from Scratch
Posts: 29

Rep: Reputation: 15
Different Unix versions like their apps in different directories. For example, on HP-UX platforms, the xterm binary sits in /usr/X11/bin, while on Solaris platforms, xterm sits in /usr/openwin/bin. There is a movement to standardize where various apps should go, called the "File System Hierarchy" (FHS) standard. Go to this page:

http://www.pathname.com/fhs/

It might help you out.
 
Old 07-09-2003, 04:52 PM   #7
tentonipete
LQ Newbie
 
Registered: May 2003
Distribution: Slackware 9.0
Posts: 26

Original Poster
Rep: Reputation: 15
thanks guys... this is still kind of confusing but i'll work something out...
 
Old 07-09-2003, 10:39 PM   #8
Mikx
LQ Newbie
 
Registered: Jul 2003
Distribution: RH 9.0
Posts: 15

Rep: Reputation: 0
the promgram files equivalent for me is /usr/local. i put netscape there, java, gimp

usually you can specify where you want to install your program by adding the --prefix=/program/location when you do a ./configure

e.g ./configure --prefix=/usr/local
 
  


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 some sh ... tareqth Linux - Software 4 07-23-2005 01:10 PM
WOuld i just put the installation cd in. Nawas111 Linux - Hardware 3 11-18-2004 02:40 AM
Where to put Installed Software CaptainFur Linux - Software 2 05-01-2004 07:45 AM
No way to put the OS in... TheIrish Linux - Laptop and Netbook 2 01-09-2004 02:05 PM
where to put software (???) g0dzuki99 Linux - Newbie 5 01-15-2002 08:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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