I have Chromium as the default web browser. A certain site only allows the use of either Internet Explorer and Firefox web browsers.
When I open up the dashboard and type firefox in the search, I can't find it.
If you search for Firefox and don't find it, that suggests it's not installed.
To be sure, open a Terminal window (Ctrl+Alt+T) and run:
If you get nothing, or all the entries given by the second command start with something other than
You can install firefox from the Software Center or by running:
If you get something, try running Firefox from the command-line:
If that works, then you've solved the main problem (and you can solve the problem of why you cannot run Firefox from the dash at your leisure).
If that does not work, then the way it doesn't work will provide valuable diagnostic information about the problem. In that case, please edit your question to include this information (or, for people other than the author of this question: you can search for your problem and post a new question if you don't find a solution).
I've listed some examples below of how it might not be working, along with some solutions.
If the Command-Line Shell Cannot Find Firefox Either
You might see an error like this when you try to run
The fix is to Install the
Or if it's installed, reinstall it with
(See below for another, more effective of reinstallation, which really does more than just reinstalling.)
You might get an error that says
That means Firefox has crashed. So you should consider reporting the bug. Read this carefully. (This question is a good resource too.) This is a crash, so you'll want to attach a stack trace: here's how that works, here's some privacy considerations (particularly relevant here since information from your Firefox profile might end up attached). Configure Apport to submit crash data for attachment to your bug report. Produce the crash and report the bug. But also try the fix below, as whether or not it works should be noted in your bug report--also, because that can help you use Firefox!
General Failure to Run
If there is no error, Firefox just hangs without a message, or quits immediately (or crashed as above), there are two fixes/workarounds:
Reinstalling the Package and Purging Systemwide Configuration Files
Sometimes when a program is not working, reinstalling the package that provides it with fresh systemwide configuration files (as sean_m suggested) can help. This is really doing things:
To reinstall Firefox and with new configuration files (as well as new copies of other files, like the Firefox executable), run:
This (and any other "purge" method) only replaces systemwide configuration files--files that affect the configuration for all users. This does not affect individual users' profiles or other user-specific configuration.
You may have a broken or incomplete Firefox install. This can happen from a botched update or other apt-get funny business. To see what's going on with Firefox you may want to fire up the terminal (Ctrl + Alt + T) and simply type 'firefox' . This will attempt to launch Firefox and provided that it is installed and somewhere in your system $PATH variable, it should either launch or give you some information about what's broken.
If you're not wanting to venture into the world of the terminal too much, just fire up the Ubuntu Software Center and attempt to search for Firefox then uninstall/re-install. There may be some corrupt configuration that isn't removed from a simple uninstall (apt-get remove firefox), and for this you will need to use the terminal and execute 'sudo apt-get purge firefox'. The 'purge' option for apt-get removes the application and all associated configuration files so that a re-install is a truly clean operation.
If that still doesn't work, there are several browsers out there which are basically Firefox without the Mozilla branding, there are guides for installing them on Ubuntu. IceWeasel is probably your best bet and is actively maintained by the Debian project. There are many guides for installing under Ubuntu and a simple Google search for "Ubuntu IceWeasel" will bring up several very good ones. I will attempt to link them when I'm at home and not posting from an iPhone.