LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Program files (https://www.linuxquestions.org/questions/linux-newbie-8/program-files-347000/)

firefly60 07-26-2005 01:41 PM

Program files
 
After you install a program.. say realplayer.. what happens to the program files? Where is the executable file placed? I installed Mozilla-Firefix and that's the last I saw of it.. would like to find these files so I can backup the installation profile? Command line says it's in /usr/bin/mozilla-firefox, but that's not it. /usr/share/man/man1/mozilla-firefox.1. No that's not it? Where has the file been placed with the file plugins/profile???? Going nuts here?? Help

reddazz 07-26-2005 01:48 PM

On Mandriva, the firefox executable is named mozilla-firefox and is located in /usr/bin.

Artanicus 07-26-2005 02:11 PM

And to answer the question: The bits you most likely would like to backup is your profile data, right? Like with many linnux programs, your own settings and profile data is kept in a hidden folder / file in your home directory. When it comes to firefox, the .mozilla directory in your home directory is the one youre looking for.

The actual program usually is scattered around /usr/* But it rarely makes sense to backup those anyways as they dont change. (Well, with firefox, they actually do, so you might want to backup something like /usr/lib/firefox or simiar, I have no idea where mandriva keeps it, but slack has it under /usr/lib/firefox-<version>/ )

darkleaf 07-26-2005 03:49 PM

You can use locate to find where programs hang out. First run "updatedb" which will update the search database with your files (run it regularly if you don't want to wait a lot. Maybe a cron job would be good. Then do "locate mozilla-firefox" and it should find it.

firefly60 07-27-2005 08:17 AM

Thanks to all
 
I can see this is going to take some getting used to.. but that's the fun, Huh. Burned out on windows crap, mostly because it is crap and then I've been dealing with it sense before there were windows.. LIke DOS. They should have never tried to get better. At least DOS worked.. LOL.. I've been trying to make the switch to linux for the past couple years and have been doing ok. except for this issue.. thanks for the "locate and updatedb" commands.. the helped.. LInux is awsome..

firefly60 07-27-2005 10:19 AM

mozilla-firefox profile
 
Ok, in order to help someone else. I found the profile. it was under /usr/lib64/mozilla-firefox-1.0.3/defaults/profile.... go figure. ?

shengchieh 07-27-2005 03:26 PM

Some understanding of file structures would be helpful.

File Structures
http://www.comptechdoc.org/os/linux/commands/
http://tldp.org/HOWTO/HighQuality-Apps-HOWTO/fhs.html
http://www.linuxdevcenter.com/pub/a/...ilesystem.html
http://www.justlinux.com/nhf/Filesys...avigation.html
http://www.justlinux.com/nhf/Filesys...d_Devices.html

Sheng-Chieh


All times are GMT -5. The time now is 10:29 PM.