In this tutorial, we will show you how to install Firefox on Ubuntu 20.04 LTS. For those of you who didn’t know, Firefox is the default web browser in a number of Linux distributions and Ubuntu is one of them. Firefox comes preinstalled in Ubuntu unless you are using Ubuntu minimal version. Some of the outstanding features in this release are the new Firefox Privacy Protection Report and a secure password generation with Lockwise.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of Mozilla Firefox on Ubuntu 20.04 (Focal Fossa). You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian-based distribution like Linux Mint.
Prerequisites
- A server running one of the following operating systems: Ubuntu 20.04, 18.04, 16.04, and any other Debian-based distribution like Linux Mint.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Firefox on Ubuntu 20.04 LTS Focal Fossa
Step 1. First, make sure that all your system packages are up-to-date by running the following apt
commands in the terminal.
sudo apt update sudo apt upgrade
Step 2. Installing Mozilla Firefox on Ubuntu 20.04.
- Install Firefox using Snapd.
To install Firefox, simply use the following command:
sudo apt install snapd sudo snap install firefox
- Install Firefox from the Ubuntu repository.
Run the following command in a terminal to install it:
sudo apt install firefox
- Install Firefox from the Mozilla PPA repository.
Now we add the signing key for Mozilla PPA:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A6DCF7707EBC211F
Next, add Mozilla’s PPA repository:
sudo apt-add-repository "deb http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu focal main"
Then, use the following command as sudo
in order to install Mozilla Firefox on your system:
sudo update sudo apt install firefox
Step 3. Accessing the Firefox web browser on the Ubuntu system.
Firefox should now be available in your system Dock/Activities panel. You can also access it from the Ubuntu application launcher or run the following command in the terminal:
firefox
Congratulations! You have successfully installed Firefox. Thanks for using this tutorial for installing the Mozilla Firefox web browser on your Ubuntu 20.04 LTS Focal Fossa system. For additional help or useful information, we recommend you check the official Mozilla website.