Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-13-2003, 07:40 PM   #1
Registered: Aug 2002
Location: Philippines
Distribution: Slackware 10
Posts: 325

Rep: Reputation: 30
where is the location of installed programs? in windows there is progam files.. hmm

where are my programs installed?
im confused..
there are too many directories in linux...
for example.. i just installed mozilla-1.2.1
i dont know where exactly it is...
please help me
i need it to ./configure galeon properly...

galeon's install file says:

./configure --with-mozilla-includes=your_mozilla_dir/dist/include --with-mozilla-libs=your_mozilla_dir/dist/lib --with-mozilla-home=your_mozilla_dir/dist/bin

what should i put in each value? for example..

where should i point the include, the libs, and the home?
thank you very much =)
Old 03-13-2003, 08:13 PM   #2
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
If your not sure where mozilla is you can do:

whereis mozilla
Old 03-13-2003, 08:35 PM   #3
Registered: Dec 2002
Location: San Luis Obispo, CA
Distribution: Fedora Core 3
Posts: 618

Rep: Reputation: 30
When you install stuff from source you should thoroughly look through the README and INSTALL files. They usually tell you where the make install script will place the binaries. On my Red Hat 8.0 box mozilla 1.2.1 was installed into /usr/local/mozilla

Also you can control where files are install by using ./configure --prefix=/where ever/

Have Fun
Old 03-13-2003, 08:46 PM   #4
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
if u can, i'd highly recommend using rpm for mozilla/galeon

as for your question,
it depends how you installed mozilla
if u installed from source(tar.gz is not necessarily source)
u willl have /path/to/source/mozilla/dist/include
thing is it might vary from version to version

if u 've used rpm, it probably be /usr/lib/include/mozilla

i would recommend using rpm for both mozilla and galeon.
if u want to go with source still, let me know
Old 03-14-2003, 05:30 AM   #5
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Apps on Linux use a "prefix", the default for source installs is /usr/local, and most RPM packages install to /usr, for reasons that you really don't want to know.

Configuring Galeon should automatically pick up these values if you installed Mozilla without any special tweaks.
Old 03-14-2003, 11:05 AM   #6
Registered: Aug 2002
Location: Philippines
Distribution: Slackware 10
Posts: 325

Original Poster
Rep: Reputation: 30
when you say "you install from source" what does it really mean?
crashed_again... did what you said.. i learned again something lolz.. thank you man...

so you mean all progs installed are in /usr/local ?
hmmmmm im just wondering..
i saw another ./mozilla-1.x.x directory on some folders...
hmmmm what are those other directories for?
Old 03-14-2003, 11:33 AM   #7
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
no not all of them. could be in /bin could be in /usr/bin, could be in /usr/local/bin, could be /usr/X11R6/bin etc... for the binary programs ad then their (if they have any) additional libraries in their equivalent locations.
Old 03-15-2003, 03:09 AM   #8
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Install from source is when you configure, make, and install the source code rather than plug in the rpm. Usually something like app.tar.gz that you tar -zxvf on rather than app.rpm that you rpm -i on, or whatever. (Though, as doublefailure said, tarballs can be binaries, just like .rpms can contain source.)

As far as the differences in directory structure, Windows NT has a C:\Program Files with most everything about an app dumped in a subdirectory of that. But it also has user-specific info buried in the depths of "Documents and Settings". And, then, there'll be registry keys and dll's and whatnot sprayed all over the system.

Linux does look like it's a hell of a lot more complicated, but it just separates most things. Man pages to an app are in a subdirectory of man pages (instead of a help file in the same directory as the app) and libraries are in lib and executables are in bin and configuration is in home if user specific or etc if system-wide. It actually makes more sense after you get used to it and fits with Linux's kind of atomic structure - collections of tools instead of monster apps; bunch of configuration files instead monster registry; bunch of compartmentalized and relevant subdirectories instead of "Windows" and "Program Files". And it makes damage to a system, or changes to a system, much more localized and makes backup or protection of certain elements easier and so on.

Simplest way to get a grasp of it is just to realize it cuts across a different angle. Instead of a bunch of Mozilla stuff in one or two places 'down', it's going to be a bunch of related Mozilla stuff in a few places 'across'. I'm making up stuff for simplicity but, say - bin/mozilla is the executables, man/mozilla is the help, etc/mozilla is system-wide config, home/.mozilla is the user-specific config, lib/mozilla is the libraries, and so on. So instead of being so app-specific, you get task specific. I need help on Mozilla - man mozilla; I need to configure Mozilla - /home/name/.mozilla; I need to run Mozilla - bin mozilla. (Mozilla should be on your path and you just type mozilla, but maybe you see what I mean.)

And going on what acid_kewpie was saying, the specifics of that have further meaning, I think. /bin is going to mostly be important cli stuff, /sbin is going to be vital system cli stuff, /usr/X11R6 is going to be gui stuff, /usr/local is going to be stuff you added apart from the default distro package and so on. So if you downloaded Mozilla and installed from source, the executable is likely to be in /usr/local/bin. If that's so and something's looking for Mozilla libs, they're likely in /usr/local/lib.

Where's that Ramble Switch? *clicks Off*


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
Wine problem - missing files when running not installed programs TMH2 Linux - Software 2 06-28-2005 03:35 PM
Linux Programs and Files: accessible by any installed distro? hanzj Linux - Newbie 10 04-19-2005 06:46 AM
SAMBA Opening FIles From Location (Windows Shares) aliasNIGMA Linux - Software 0 09-20-2004 02:07 PM
Locating Installed Programs /or Files Mr T Donegal Linux - Software 5 06-28-2004 08:36 PM
Hmm... i installed Mplayer only1gameguru Linux - Software 4 10-28-2003 05:30 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration