LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   In which all directory the compiled and Installed files will be copied. (http://www.linuxquestions.org/questions/linux-newbie-8/in-which-all-directory-the-compiled-and-installed-files-will-be-copied-712820/)

prasanthp 03-19-2009 09:28 AM

In which all directory the compiled and Installed files will be copied.
 
I have compiled and installed Firefox 3.0 in Debian OS and it is working fine.
But in my /etc, there is no file called Firefox or Mozilla.
If it is not there then where will be the required files copied.

I also need to know in which all directories in my file system, the files of the Firefox are copied.

I dont know this is a genuine question or this is the right way to ask this question. But i am asking this of curiosity and for research purpose.

Please Help..

sycamorex 03-19-2009 09:36 AM

The /etc directory is only for configuration files

Some of the firefox files will be in ~/.mozilla
You can find out where the rest of the files is by:
Quote:

find / -name firefox* 2> /dev/null

malekmustaq 03-19-2009 11:46 AM

prasanthp:

Linux has different way of keeping files: it is based on what is logical. There is no simple -but untouchable folders- such as "Program Files" and "Windows". In Linux every file you can create/destroy as long as you are root.

Example: under /usr here is what you have about Firefox:
/usr/bin/firefox
/usr/lib/firefox
/usr/lib/firefox-3.0.4
/usr/lib/firefox-3.0.4/firefox
/usr/lib/firefox-3.0.4/firefox-bin
/usr/lib/firefox-3.0.4/defaults/pref/firefox-l10n.js
/usr/lib/firefox-3.0.4/defaults/pref/firefox.js
/usr/lib/firefox-3.0.4/defaults/pref/firefox-branding.js
/usr/lib/firefox-3.0.4/firefox.orig
/usr/share/services/useragentstrings/firefox15oncurrent.desktop
/usr/share/services/useragentstrings/firefox10oncurrent.desktop
/usr/share/xfce4/helpers/firefox.desktop
/usr/share/pixmaps/firefox.png
/usr/share/icons/mono/scalable/apps/firefox.svgz

It pays more to read "Linux Rute Tutorial" by Paul Sheer. You can download a copy of it from the web. Use google.

Hope this helps.

++++++++++++++++++
To the new migrants from Windows:
Feel free to ask questions here: you'll never find a better place to share your problems as this forum where the people are more helpful, cordial and decent.
Always welcome!
++++++++++++++++++

cook19709 04-10-2009 11:26 AM

Directories
 
Quote:

Originally Posted by malekmustaq (Post 3480843)
prasanthp:

Linux has different way of keeping files: it is based on what is logical. There is no simple -but untouchable folders- such as "Program Files" and "Windows"...

Example: under /usr here is what you have about Firefox:
/usr/bin/firefox
/usr/lib/firefox
/usr/lib/firefox-3.0.4
/usr/lib/firefox-3.0.4/firefox
/usr/lib/firefox-3.0.4/firefox-bin ...

It pays more to read "Linux Rute Tutorial" by Paul Sheer...

But, where to start? For example:

With my new Ubuntu 8.10 install, I can't finish the drivers without the 'net, and I can't get the 'net without drivers.

I installed ndisgtk (ndiswrapper)
Where do I put the WG311v3.inf file prior to using ndisgtk? A certain directory, or just on the desktop?
If it's on my desktop, and once the .inf is loaded / installed, can I get rid of the one on my desktop, or does it have to stay there?

Hopefully, this is the only one I have to worry about - its my understanding that everything else comes from repositories on the 'net. ?

TIA,

i92guboj 04-10-2009 11:39 AM

make install will spread files all around your system. Binaries will go into either /bin, /usr/bin or /usr/local/bin, libs in /lib, /usr/lib... and so on. /etc is for config files only. And user config files will be in your $HOME as hidden files (their name start with a dot).

I know nothing about ndiswrapper and windows .inf files, sorry.

About the last question, most distros use repositories that are in the net, yes. But most of them can also use local repositories (for example, from your hard disk or from a cd/dvd).

I am curious as to why did you compile firefox. Most distros have it on their repositories, and if firefox is not there, then you can find iceweasel which is the same with a different logo.

cook19709 04-10-2009 12:21 PM

I didn't do anything with Firefox, I just hijacked the thread because it discussed directories.

If an installation spreads files around, I can just install packages from my desktop and clean up later.

Since I have a clean install, I can experiment and just start over if I screw it up.

.

i92guboj 04-10-2009 12:29 PM

Quote:

Originally Posted by cook19709 (Post 3504753)
I didn't do anything with Firefox, I just hijacked the thread because it discussed directories.

If an installation spreads files around, I can just install packages from my desktop and clean up later.

Since I have a clean install, I can experiment and just start over if I screw it up.

If you install with "make install", the right way to uninstall is to use "make uninstall" most times. It's the cleanest way besides making your own package.


All times are GMT -5. The time now is 06:12 AM.