Page 1 of 1

Installing Firefox 12 to Linux Mint 10 - Julia

Posted: Wed May 16, 2012 8:50 pm
by Richie2010

Trying to get my Firefox up-to-date. Currently at FF11 - and before the upgrade showed up in the Mint-Update panel. But to date FF12 is not showing up.
I have tried this code

Code: Select all

sudo add-apt-repository ppa:ubuntu-mozilla-security/ppa
sudo apt-get update
sudo apt-get install firefox
And it simply says that I already have the most current. FF11

I would just go to FF and download directly, but i am unclear how to deal with - update all the correct dependency files. And i do not want the debian version.

Thank you in advance those who can paste the how to code below. Ah and i want only stable, not beta :D

Linux Mint 10 Julia
4x AMD PhenomII x4 B55
Linux (x86_64)
Gnome 2.32.0

Re: Installing Firefox 12 to Linux Mint 10 - Julia

Posted: Wed May 16, 2012 9:37 pm
by Rayonant
I think that is because Julia is out off support ( although i just receive an update for Opera....) and the fact that mozilla no longer support the ppa for the stable release since Ubuntu/Mint gave updates to it from the official repositories. Anyway, if you do not want to go trough another release channel like beta, aurora or nightly, you can do it by having firefox installed on the /opt directory an let firefox to manage its updates by itself . Here is the how to, is really simple and I also did it since I am running MInt 10 too with no very much intentions to change that
A. Install Firefox 12 in 5 easy steps
1. Download

Download the release from the official channels page:
A 64 bit build is also available in the x86_64 directory of Mozilla's FTP.

This how-to supposes that the downloaded file is saved in the “Downloads” directory situated in your home directory.
2. Extract

The downloaded file is a compressed .tar.bz2 archive. In case you want to Learn more on these extensions: tar, bzip2. To extract this juicy archive, open the Downloads directory. Look for a file named firefox-12.0.tar.bz2, right-click on it and select “extract here”.

Alternatively, you can extract the archive from the command line:

Code: Select all

cd ~/Downloads/
tar xjf firefox-12.0.tar.bz2
For those interested, here are the tar arguments used in the command:
x : eXtract
j : deal with bzipped file
f : read from a file (rather than a tape device)

The firefox-12.0.tar.bz2 archive can now be deleted.

3. Move to /opt

External programs like LibreOffice, Google Chrome, Adobe reader, ... are all installed in the /opt directory. If you want more info about why /opt, check out these two links:
Where to install my products on linux?
Filesystem Hierarchy Standard

If you already had a previous Firefox version installed in the /opt directory, remove it with the following command:

Code: Select all

sudo rm -r /opt/firefox
Now move the firefox directory (which was created in your Downloads folder during extraction) to /opt:

Code: Select all

sudo mv firefox /opt/firefox12
4. Set up symbolic links

Depending on you usage pattern, follow the instructions for case 1 OR for case 2.
Case 1: you want to use Firefox 12 as you default browser:

“Backup” the old Firefox launcher:

Code: Select all

sudo mv /usr/bin/firefox /usr/bin/firefox-old

Create a symbolic link pointing to the new Firefox version:

Code: Select all

sudo ln -s /opt/firefox12/firefox /usr/bin/firefox
No need to update your icons/shortcuts, they should now launch the new version of Firefox.

Your old Firefox version is still installed. If you want to use it, run firefox-old in a terminal or create shortcuts/icons referring to firefox-old.

Case 2: you want to keep using your “old” Firefox by default:

Create a symbolic link pointing to the new Firefox version:

Code: Select all

sudo ln -s /opt/firefox12/firefox /usr/bin/firefox12
Launch the newly installed Firefox by running firefox12 in a terminal, or create shortcuts/icons referring to firefox12.
5. Updates & Final

Firefox 12 will manage its own updates independently of your system's package manager, an download subsequent releases. There will be no need to repeat the whole “procedure”... Enjoy Firefox 12!
Note that the same thing can be done for Thunderbird.

Source: ... linux-mint

Re: Installing Firefox 12 to Linux Mint 10 - Julia

Posted: Thu May 17, 2012 11:07 pm
by Richie2010
Thank you for the how-to. I will give it a go next. :D