Firefox Ubuntu Install

From Indie IT Wiki
Jump to: navigation, search

Manual Method

This guide is primarily for Ubuntu users and shows how to install the latest version of Mozilla Firefox which is not available through the Synaptic Package manager. It is possible to install a Mozilla repository but this then access the latest nightly builds which are not guaranteed to be stable.

Uninstall Previous Version

sudo apt-get remove -y firefox*

Install Latest Version

Notes - https://download-installer.cdn.mozilla.net/pub/firefox/releases/latest/README.txt

Download the latest version...

wget -O firefox_latest_linux64.tar.bz2 'https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-GB'

Unpack in to the directory...

sudo tar -xjvf /path/to/firefox_latest_linux64.tar.bz2 -C /opt/ && sudo ln -sf /opt/firefox/firefox /usr/bin/firefox

To create a menu entry, open a terminal and run the command...

sudo nano /usr/share/applications/firefox.desktop

Add the following text:

[Desktop Entry]
Encoding=UTF-8
Name=Firefox
Comment=Browse the World Wide Web
Exec=/opt/firefox/firefox %u
Icon=/opt/firefox/browser/chrome/icons/default/default48.png
Terminal=false
Type=Application
Categories=Application;Network;WebBrowser;
StartupNotify=true

Save and close.

Firefox can be found under ApplicationsInternetFirefox.

You will need to add the icon for the start menu.

Open a terminal and type:

sudo su - root

Enter the password for your current profile

cd /opt/firefox/icons/
cp mozicon128.png /usr/share/pixmaps

Update Latest Version

cd /tmp/ && sudo wget -O firefox_latest_linux64.tar.bz2 'https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-GB' && sudo rm -rfv /opt/firefox && sudo tar -xjvf firefox_latest_linux64.tar.bz2 -C /opt/ && cd