How to install latest Firefox browser on RHEL 8 / CentOS 8 Workstation

The Firefox comes pre-installed on RHEL 8 / CentOS 8. In this tutorial you will learn how to install a latest Firefox browser directly from Mozilla repository.

In this tutorial you will learn:

  • How to install latest Firefox on RHEL 8 / CentOS 8 workstation
  • How to backup existing Firefox installation and exclude form updating
  • How to start Firefox browser

Latest Firefox Quantum Internet browser on RHEL 8 / CentOS 8 workstation

Latest Firefox Quantum Internet browser on RHEL 8 / CentOS 8 workstation

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System RHEL 8 / CentOS 8
Software Firefox Quantum
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

How to install latest Firefox browser on RHEL 8 / CentOS 8 step by step instructions



  1. Download and extract the latest Firefox browser.

    Copy the entire command below and execute as a root user or with sudo privileges:

    # wget -O- "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=en-US" | tar -jx -C /usr/local/
    
  2. Backup the existing firefoxexecutable.

    This step is optional but highly recommended in case you might wish to revert to Redhat stock Firefox version.

    # mv /usr/bin/firefox /usr/bin/backup_firefox
    
  3. Exclude Firefox browser from updating:
    # echo "exclude=firefox" >> /etc/dnf/dnf.conf
    
  4. Create a symlink to a newly downloaded /usr/local/firefox/firefox executable.
  5. # ln -s /usr/local/firefox/firefox /usr/bin/firefox
    
  6. Start the latest Firefox browser from GUI menu or by executing the firefox command.
    $ firefox
    
  7. UPGRADING FIREFOX
    Note if you need to upgrade your Firefox browser once again simply execute the download and extract command as part fo the Step 1.