The Mozilla Foundation offers the free and open-source web browser Mozilla Firefox. This browser continually gets fresh upgrades from a large community. To increase the functionality of the Firefox browser, you can add a number of extensions to it. Mozilla Firefox is preinstalled in every major Linux distribution, including Ubuntu.
In this post, we will go through the procedure of how to install Mozilla Firefox on Ubuntu 22.04 Jammy Jellyfish Linux distribution.
- Ubuntu 22.04 Jammy Jellyfish distribution should be installed and running properly on your machine.
- Root or sudo privileges are required to install new packages and dependencies.
Ways of installation of Mozilla Firefox on Ubuntu 22.04 Jammy Jellyfish distribution
Different ways are available to install the Mozilla Firefox browser on Ubuntu 22.04:
Method 01: Install Mozilla Firefox using the standard Ubuntu repository
It is quite the simple and easiest method to install Mozilla Firefox through the Apt package manager. You can install using the default Ubuntu apt repository. So, it is a best practice that you first update the all packages repositories of your system before start installing Mozilla firefox on Ubuntu 22.04:
$ sudo apt update
$ sudo apt upgrade
Install the Mozilla firefox browser via the apt package manager using this command:
$ sudo apt install firefox
Method 2: Install Mozilla firefox from the official website
You may also download the most recent version of the Mozilla Firefox browser and install it on your Ubuntu 22.04 system from the official Firefox page. Visit Mozilla Firefox’s official website to do this. Using the ‘wget’ or ‘curl’ command, you can get the firefox binary here:
$ wget -O firefoxsetup.tar.bz2 "https://download.mozilla.org/?product=firefox-latest HYPERLINK "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US"& HYPERLINK "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US"os=linux64 HYPERLINK "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US"& HYPERLINK "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US"lang=en-US"
After executing the above command, the compressed ‘tar’ file will be downloaded to your system. Extract this tar file by running this command:
$ sudo tar -xf firefoxsetup.tar.bz2 --directory /opt
Now, you cab start Mozilla firefox using this command:
Create application and Desktop shortcut
Create a new source file using any source code editor.
$ sudo nano ~/Desktop/firefox.desktop
Now, paste the below source code into this file:
[Desktop Entry] Version=1.0 Type=Application Name=FireFox-R Comment=Browser Exec=/opt/firefox/./firefox Icon=/opt/firefox/browser/chrome/icons/default/default64.png Terminal=false StartupNotify=false
Save the file using `Ctrl+O` and press `Ctrl+x` to exit from the nano editor.
Now, create the application launcher using the following command:
$ sudo cp ~/Desktop/firefox.desktop /usr/share/applications/
Launch Firefox on Ubuntu 22.04 distribution
Once the installation of Mozilla firefox is completed, you can launch it from the application menu. Go into the application menu and search for ‘Firefox’ using the search bar:
The firefox browser icon will display in the search result. Click on it and launch the Firefox browser on your Ubuntu 22.04 system. Hurrah! The installation of Mozilla firefox is successfully completed. Now, start browsing using firefox on your Linux system.
Uninstall Firefox browser from Ubuntu 22.04
To uninstall Mozilla firefox, you can use the following command:
$ sudo apt remove firefox
We learn in this blog post how to install the Mozilla Firefox browser on Ubuntu 22.04 Jammy jellyfish distribution using two different methods. Both methods are good for installation. but, it is recommended, to download its binary from the official website to install the latest regular version of Mozilla firefox on Ubuntu 22.04. Thanks!