where is the location of installed programs? in windows there is progam files.. hmm
Linux - NewbieThis 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
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.
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.
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...
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/
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
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.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.