One thing you can do is back up your profile and then simply remove the manually installed Firefox 34. I don't know what steps you took to install Firefox manually, so I'm afraid I can't be much of a help with the removal step.
Step 1: Back up your Firefox profile:
First step you'll want to do is go into your .mozilla
folder in the home directory. You may have to press Ctrl+H to show hidden files & folders:
Next, go into firefox
within the .mozilla folder:
The window that pops up should look similar to mine, albeit with only the Crash Reports
and a ******.default
(* = random numbers & letters used by Firefox) folder:
Copy/paste all the files & folders to your desktop, we'll restore them later.
Step 2: Remove current installation:
Once again, I don't know how exactly you installed Firefox manually, so I'm not going to be much help in this step.
Just remove the current installation as best you can, making sure that you have a copy of the folders & file mentioned above.
Step 3: Install via apt-get:
You should now be able to install Firefox from the official repository via apt-get
.
Simply run this in terminal (Ctrl+Alt+T):
sudo apt-get update && sudo apt-get install firefox
This should install Firefox in working order for you and will provide you with automatic updates too! Now, this method won't necessarily give you the most up to date version of Firefox, but it should keep you pretty close if not on the current version.
Step 4: Restore your profile:
Once you've installed Firefox you should be able to simply copy/paste those files you copied to your desktop earlier back to the ~/.mozilla/firefox
directory.
The profiles.ini
file is what tells Firefox what profile to look at for bookmarks and whatnot, so by backing it up we can simply replace the one that Firefox created when it was installed. This will make it so that Firefox looks at your profile from your previous installation and so you shouldn't lose anything!
Hope this helps!
Best Answer
If you want to install the latest version of Firefox, you can perform the following in a terminal:
First use the update command to update your system's package information:
Then use the install command to update Firefox to the latest version:
You could also use the upgrade command (
sudo apt-get upgrade
), but only if you want to update all currently installed software packages.