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 |
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.
|
 |
07-09-2003, 06:14 AM
|
#1
|
LQ Newbie
Registered: May 2003
Distribution: Slackware 9.0
Posts: 26
Rep:
|
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.
|
|
|
07-09-2003, 06:44 AM
|
#2
|
Member
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Rep:
|
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.
|
|
|
07-09-2003, 07:10 AM
|
#3
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
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
|
|
|
07-09-2003, 07:24 AM
|
#4
|
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565
Rep:
|
FireBird is a bit of an odd app, in Linux terms.
I normally put it in /opt/firebird
|
|
|
07-09-2003, 07:59 AM
|
#5
|
Member
Registered: Oct 2002
Posts: 55
Rep:
|
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
|
|
|
07-09-2003, 08:08 AM
|
#6
|
LQ Newbie
Registered: Jan 2003
Location: Munich, Germany
Distribution: Linux from Scratch
Posts: 29
Rep:
|
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.
|
|
|
07-09-2003, 03:52 PM
|
#7
|
LQ Newbie
Registered: May 2003
Distribution: Slackware 9.0
Posts: 26
Original Poster
Rep:
|
thanks guys... this is still kind of confusing but i'll work something out...
|
|
|
07-09-2003, 09:39 PM
|
#8
|
LQ Newbie
Registered: Jul 2003
Distribution: RH 9.0
Posts: 15
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 01:46 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
|
|