LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-19-2009, 08:28 AM   #1
prasanthp
LQ Newbie
 
Registered: Mar 2009
Posts: 21

Rep: Reputation: 15
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..
 
Old 03-19-2009, 08:36 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
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
 
Old 03-19-2009, 10:46 AM   #3
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
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!
++++++++++++++++++
 
Old 04-10-2009, 10:26 AM   #4
cook19709
LQ Newbie
 
Registered: Apr 2009
Location: Delaware, USA
Distribution: Ubuntu Intrepid Ibex 8.10
Posts: 20

Rep: Reputation: 0
Directories

Quote:
Originally Posted by malekmustaq View Post
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,
 
Old 04-10-2009, 10:39 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
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.
 
Old 04-10-2009, 11:21 AM   #6
cook19709
LQ Newbie
 
Registered: Apr 2009
Location: Delaware, USA
Distribution: Ubuntu Intrepid Ibex 8.10
Posts: 20

Rep: Reputation: 0
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.

.
 
Old 04-10-2009, 11:29 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by cook19709 View Post
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.
 
  


Reply



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
What happens if files are extracted and installed in wrong directory? gogoskiracer Linux - Newbie 4 02-03-2009 12:03 PM
Directory name changes case when copied from USB to RedHat pockie Linux - Newbie 2 06-03-2008 07:39 AM
Root cannot modify files in any way. Copied files from slackware. CrAzY G Fedora 1 01-08-2007 09:18 AM
files being copied into root mercy420 Slackware 1 06-18-2005 07:23 AM
files copied to RH9 server does not maintain directory strudture eltine Linux - Newbie 1 09-22-2004 08:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:59 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
Open Source Consulting | Domain Registration