Firefox stands out as a widely-used web browser, celebrated for its swift performance, robust security, and commitment to user privacy. In this guide, we’ll demonstrate how to acquire and set up the most recent version of Firefox using a zip file for Fedora or CentOS systems.
This guide provides instructions on how to seamlessly install Firefox on CentOS, RedHat, and Fedora Linux distributions. We’ll be focusing on the latest Firefox pre-built version for Linux. With this version, there’s no need for further compilation—just unzip the file and you’re all set to browse.
Step 1: Remove Previous Versions
Several Linux versions come with Firefox pre-installed. It’s advised to purge any older version from your system. Use the command below to clear the pre-installed Firefox on RedHat-based Linux systems:
sudo dnf remove firefox
Furthermore, if you have a pre-existing Firefox binary, consider unlinking or renaming it. For instance, if it’s located at `/usr/bin/firefox`.
## Or rename file
mv /usr/bin/firefox /usr/bin/firefox_bak
Step 2: Download Latest Firefox for Linux
Head over to the Firefox download page and pick the “Linux 64-bit” option under the “Desktop” category. Afterward, click “Download Now” to grab the zip file.
For terminal enthusiasts, here’s a command to directly download the newest version of Firefox source code for Linux 64 bit systems:
wget -O firefox-latest.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US"
Post-download, launch a terminal and shift to the folder where the file lies. If it’s in the “Downloads” folder, punch in:
tar xvjf firefox-latest.tar.bz2 -C /usr/local
This spills all the files into the
Step 3 – Install Firefox on Linux
The beauty of Firefox source code is its pre-compilation, so no additional fuss to get it working. By “installing”, we mean tailoring Firefox for your system. A soft link of the Firefox binary file to the system’s bin directory is all you need to make it universally accessible.
sudo ln -s /usr/local/firefox/firefox /usr/bin/firefox
Kick off Firefox with the following command, or simply pick it from your GUI menu:
Through this guide, we’ve illuminated the process to fetch and establish the latest Firefox version using a zip on CentOS/RHEL 9/8/7 and Fedora 38/37/36/35 systems. It’s our earnest hope that this insight boosts your browsing experience on Firefox.