In this tutorial, I will show you how can you install or update latest version of Firefox in Linux using Terminal commands. Method explained is tested on Ubuntu 11.10 to install Firefox 10.0 and it probably work on all the Linux based Operating Systems.
If you already have older version of Firefox installed in your system, then it should not be running while getting this update. If you are not sure whether latest version is available or not, you can check for the latest version at Firefox website.
- To start getting latest version of Firefox in you system, you should add required repository in your system. Following command let you do that.
sudo add-apt-repository ppa:mozillateam/firefox-next
When your Terminal ask you to press Enter as shown in following image, just press Enterto continue adding required repository. This command will add the PPA repositories inside your
/etc/apt/sources.list.d/directory, in a file named
- After adding repository, its time to get updates. Using following command will get all the updates required.
sudo apt-get update
- After getting all the updates, its time to finally install latest Firefox in your system. Use the following command to install Firefox in your system.
sudo apt-get install firefox
- This command will show you all the packages which will be installed, which will be upgraded and which ones are no longer required and finally ask you whether you want to continue installation or not. If you are sure that you want to update Firefox or install it, then press
'Y'and hit Enter to continue installation.
- This which will take a little bit of time (depending on your Internet connection) in downloading the installation package and then finally install them.