Mozilla Firefox is one of the most popular and widely used web browsers in the world. It's available for installation on all major Linux distros, and even included as the default web browser for some Linux systems.

In this guide, we'll cover the step by step instructions on how to download and install Mozilla Firefox on the most popular Linux distros. This will include methods for installation from a distro's package manager, as well as a direct download from Mozilla's site.

In this tutorial you will learn:
  • How to install Firefox on popular Linux distros via package manager
  • How to install Firefox via direct download from Mozilla
Mozilla Firefox successfully installed on Linux
Mozilla Firefox successfully installed on Linux
Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Any Linux distro
Software Mozilla Firefox
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user

Install Firefox on Ubuntu, Debian, and Linux Mint

Open a terminal and use the following command to install Mozilla Firefox on Debian based Linux distributions, such as Ubuntu, Debian, and Linux Mint.

$ sudo apt install firefox

Install Firefox on Red Hat, CentOS, and Fedora

Open a terminal and use the following command to install Mozilla Firefox on Red Hat based Linux distributions, such as CentOS, Red Hat, and Fedora.

$ sudo dnf install firefox

Install Firefox on Arch Linux and Manjaro

Open a terminal and use the following command to install Mozilla Firefox on Arch Linux based Linux distributions, such as Manjaro and Arch Linux.

$ sudo pacman -S firefox

Install Firefox on OpenSUSE

Open a terminal and use the following command to install Mozilla Firefox on OpenSUSE.

$ sudo zypper in MozillaFirefox

Download and install Firefox from Mozilla's website

Using your distro's package manager is a convenient way to install Firefox; however, you can also download the installer directly from Mozilla's website. This may be more ideal for users that wish to avoid the command line or if you want to make sure you're getting the very latest version of the browser. It also allows you to choose a different language.

Head over to the Firefox download page to get the installer.

Downloading Firefox from the official site
Downloading Firefox from the official site

Once it's downloaded, use the following commands to extract the files and install Firefox, but substitute the correct file name.

$ mkdir -p ~/bin
$ tar -xf ~/Downloads/firefox-82.0.tar.bz2 --directory ~/bin

Firefox is now accessible under ~/bin/firefox/firefox. You can create a shortcut icon or add it to your quick launch area for easier access.

Mozilla Firefox successfully installed on Linux
Mozilla Firefox successfully installed on Linux

Conclusion

In this guide, we saw how to install one of the world's most common web browsers, Mozilla Firefox, on an assortment of popular Linux distributions. Using your distro's package manager makes the job very easy, but you can also download the files directly from Mozilla's site.

FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in:



Comments and Discussions