LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   where is Firefox installed? (https://www.linuxquestions.org/questions/linux-newbie-8/where-is-firefox-installed-4175567718/)

Brant 01-23-2016 08:45 AM

where is Firefox installed?
 
Overview: Some time ago I installed Firefox for Windows, using Wine. Wine appeared in the Start menu, containing a drop-down list of items that included Firefox, so good so far.

I wanted to install an Adobe Shockwave Player plug-in, using Wine, which did not work out (and I will probably be posting other questions relating to this frustration) which had me wanting to look for the file containing Firefox for Windows.

I went Home>.wine>drive_c and found three files: Program Files, users, and windows; I made sure "show hidden files" was checked, and went down each rabbit-hole, without finding very much. For example, Program Files has a sub-file named Mozilla Maintenance Service, which turned out to contain an Uninstall.exe and a file named logs.

I decided to look at my original Firefox installation, on the assumption that the file structure and naming would parallel that of Firefox for Windows, and that I would then have a better idea of what I was looking for. . .and quickly found that I had no idea of where that lived either.

So, where does Wine keep its files?
Where would linux usually keep Firefox?

I am running Linux Mint 17.3 Cinnamon.

HMW 01-23-2016 10:51 AM

Quote:

Originally Posted by Brant (Post 5486246)
So, where does Wine keep its files?
Where would linux usually keep Firefox?

Hi!

Don't know about Wine. I don't use that software myself. But as for where Firefox is installed in GNU/Linux, you can try these commands:
Code:

whereis firefox
firefox: /usr/bin/firefox
which firefox
/usr/bin/firefox

As you can see, firefox is installed in the /usr/bin/ directory, which in my case is not strictly true. I installed Firefox in /opt, so /usr/bin/firefox is a symlink:
Code:

ls -lh /usr/bin/firefox
lrwxrwxrwx 1 root root 20 jun  9  2015 /usr/bin/firefox -> /opt/firefox/firefox

But... try the commands above!

Best regards,
HMW

DavidMcCann 01-23-2016 11:13 AM

It should be in .wine/drive_c/Program Files: I can't think where it went. You can run the search tool (in the Mint menu or via the file browser) to search your home directory for it.

Tonus 01-23-2016 11:46 AM

where is Firefox installed?
 
As root, updatedb
Then as user locate firefox.

HMW 01-23-2016 12:25 PM

Quote:

Originally Posted by Tonus (Post 5486313)
As root, updatedb
Then as user locate firefox.

Sorry, but that is not going to help. If you use locate to search for firefox:
Code:

locate firefox
You'll end up with more than 5000 matches. On this Debian system I got 5926 matches, and I don't even have Firefox installed!!!

John VV 01-23-2016 12:34 PM

first WHY!!! the MS Windows firefox using wine when there is a perfectly good and BETTER linux version

all MICROSOFT software installed using wine is in your home folder
~./wine/drive_c/Program Files(x86)/??????

as to WHERE the individual parts are
they will be the same as on a MS windows OS

all over the bloody place

ondoho 01-23-2016 07:12 PM

linux mint uses apt packet management.
it is possible to list the installed files for each packages.
i know how you would do it in synaptic (graphical packet manager), but i'm sure it's possible with command line tools, too.
i'f start with
Code:

man apt
man apt-get
man apt-cache


JJJCR 01-25-2016 01:28 AM

using root type:

Wheredhell is firefox .. :)

or try at this location:

/home/YOUR USERNAME/.wine/

pan64 01-25-2016 02:36 AM

Quote:

Originally Posted by HMW (Post 5486328)
Sorry, but that is not going to help. If you use locate to search for firefox:
Code:

locate firefox
You'll end up with more than 5000 matches. On this Debian system I got 5926 matches, and I don't even have Firefox installed!!!

locate firefox | grep 'firefox$' usually helps

BW-userx 01-25-2016 07:33 AM

Code:

whereis firefox
Code:

which firefox
Code:

sudo find / -name firefox*
These all work depending one what you have installed

Soadyheid 01-25-2016 08:03 AM

I'm with John VV, why are you running the MS Windows version of Firefox? :scratch:
Firefox was originally written for Linux/Unix type systems, not Windows.
Quote:

I am running Linux Mint 17.3 Cinnamon.
The Linux native version of Firefox, which needs no Wine overhead, is already included in this distribution, why would you need two versions?



Play Bonny!

:hattip:

Brant 01-26-2016 07:00 PM

John VV's phrase "all over the bloody place" seems about right. I went from .wine>drive_c>users>brant>Application Data>Mozilla and found two files, Extensions and Firefox.

Extensions was empty; Firefox>Profiles>5pkhbqo2.default>and there it was. I admit that last file name seemed more than bizarre.

Deciding to install Firefox for Windows was a roundabout way (that has occasionally worked!) of trying to persuade Adobe Shockwave Player to play on a Linux distribution. Originally I wanted Adobe Shockwave in order to open the older archives of the Platinum Grit webcomic; now it is more simply the annoyance of having met something I cannot do on Linux. If anyone knows of a browser native to Linux that will do this, by all means, tell me and spare me this futile pilgrimage.

In the mean time, I will call this element of the puzzle solved, and keep thrashing away. Thanks.

BW-userx 01-27-2016 06:30 AM

Quote:

Originally Posted by Brant (Post 5487764)
Deciding to install Firefox for Windows was a roundabout way (that has occasionally worked!) of trying to persuade Adobe Shockwave Player to play on a Linux distribution.

As far as getting a flash plugin to workin' in linux. I've done this in lue of shockwave, by using pepperFlash, creating a dummy directory structor then unzipping a google-chrome-stable_current_x86_64.rpm using ark then take libpepflashplayer.so out and then place it into the directory where FireFox looks in its default path search.

Granted my Distro has a wrapper that helps it along, though it is a option to give it a try to get a latest version of flashplayer plugin to work. This is my setup for pepperFlash

Code:

/opt/google/chrome/PepperFlash/libfreshwrapper-pepperflash.so
/opt/google/chrome/PepperFlash/libpepflashplayer.so

sudo mkdir -p /opt/google/chrome/PepperFlash/

sudo mv libpepflashplayer.so /opt/google/chrome/PepperFlash/

my disclamer, I have a relatively fresh install of my distro and have not completed the pepper flash, Adobe Shockwave plugin setup at the time of this writing, and I've been using the old "out dated" plugin.

Quote:

I wanted Adobe Shockwave in order to open the older archives of the Platinum Grit webcomic; now it is more simply the annoyance of having met something I cannot do on Linux. If anyone knows of a browser native to Linux that will do this, by all means, tell me and spare me this futile pilgrimage.
for Platinum Grit webcomic I just went there and using 11.2.r202 out dated plugin, and it works with Platinum Grit webcomic . I've got my flash plugin set to ask, then just sleceted load it in there web page, and it loaded up np.

perhaps you've got other Platinum Grit webcomic places that your firefox is not working? I have no experience with Platinum Grit webcomic.

DavidMcCann 01-27-2016 10:44 AM

I'm using the old Opera 12 (I like it) with version 10 of Flash (the last to work on 32-bit AMD chips). I've just tried Platinum Grit and it works perfectly!


All times are GMT -5. The time now is 08:19 AM.