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.

Advertisement

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.

Useful links:-

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`.

unlink /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:

cd ~/Downloads 
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 `/usr/local/firefox` directory.

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:

firefox & 

Install latest Firefox on Fedora

Conclusion

This guide has provided detailed instructions on downloading and installing the most recent version of Firefox using a zip file across CentOS, RHEL, and Fedora systems. We sincerely hope that the information shared enhances your browsing experience with Firefox, ensuring you enjoy the latest features and security updates. By following the steps outlined, you can keep your browser up-to-date, optimizing your internet navigation and safeguarding your online presence.

Share.

50 Comments

  1. Sunil Poshala on

    Info 2 – The CentOS/RedHat 6 only supports Firefox 41….
    the info is useful… Firefox 67 has gtk lib’s issues on Centos 6

  2. Hello, admin.

    Interesting website, really!
    But “Search” function on it doesnt work. Sad.

    P.S. Where I can get XEvil4.0 for free?
    It’s best captcha solver, included Google ReCaptcha.
    Need it for white SEO. Thanks.

  3. I am running RHEL 5.10 trying to install firefox. After installation, when I type the command “firefox &”, Im getting an error hat GLIBCXX NOT FOUND. Please help.

    [root@cad9 local]# sudo ln -s /usr/local/firefox/firefox /usr/bin/firefox
    [root@cad9 local]# firefox &
    [1] 6651
    [root@cad9 local]# firefox: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.10′ not found (required by firefox)
    firefox: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9′ not found (required by firefox)
    firefox: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11′ not found (required by firefox)
    [root@cad9 local]#

  4. Hello everyone! I had the same problem with libgtk3.so missing on CentOS 6.8, but googlin’ it I found this:
    https://www.centos.org/forums/viewtopic.php?t=57708
    It´s means that since firefox version 42, It´s no longer compatible with CentOS 6.
    The more easier option is to install firefox 41. Change every steps on this tutorial on this version and it will works!

    Kind regards.

    • Config: Centos 7 with kernel 4 version

      I downloaded FF 57 with my old version 52 it goes into your Downloads dir.

      Yum remove old version see above instruction

      Remove .mozilla directory in your home directory

      TAR it see above instruction

      Move the FF 57 folder to /usr/local

      LN -s as per above instruction

      It should work Good luck

  5. Hi,
    getting error: any advice?
    XPCOMGlueLoad error for file /usr/local/firefox/libmozgtk.so
    Couldn’t load XPCOM.

    Linux

  6. hi I got this message: what does it mean and what do I do about it?

    ln: failed to create symbolic link ‘/usr/bin/firefox’: file exists.

    What do I do now?

    • Robert Dinse on

      Try purging rather than just removing existing firefox so it takes the conf with it. If that doesn’t do it, manually rm the file.

  7. Did step 2. Just returned “Permission denied”. According to synaptic package manager I’ve gor FF files. According to everything else, “No such file or directory”. Have just spent days getting LM Rosa 17.3 64bit back from the dead (37 broken packages repaired – eventually) and now have no browser or web access. HELP!!!!1

    • Sorted! Managed to resolve in Synaptic Package Manager. Had to go through language pack by language pack though (probably cocked summat else up knowing me!) deleting extraneous (to me) languages. All tickedy-boo now. Yippee ?

  8. I am getting below issues when launching firefox :

    XPCOMGlueLoad error for file /usr/lib/firefox35/libxul.so:
    libgio-2.0.so.0: cannot open shared object file: No such file or directory
    Couldn’t load XPCOM.

  9. Hi, Rahul i just installed centos basic server and followed your steps it didn’t work for me….

    first i got this
    [root@localhost local]# -bash: /usr/bin/firefox: cannot execute binary file
    cd /
    [1]+ Exit 126 firefox (wd: /usr/local)
    (wd now: /)

    then i tried from /#

    [root@localhost /]# -bash: /usr/bin/firefox: cannot execute binary file
    [1]+ Exit 126 firefox

    can u please help me….

  10. I do not recommend yum remove firefox

    just

    [code]rm -f usr/bin/firefox

    ln -s /usr/local/firefox/firefox /usr/bin/firefox[/code]

    centos 6 64 bit update compatibility module flash and freshplayerplugin work enter command

    [code]sudo cp /usr/lib/mozilla/plugins/* /usr/lib64/mozilla/plugins
    sudo rm -rf /usr/lib/mozilla/plugins

    sudo ln -s /usr/lib64/mozilla/plugins sudo rm -rf /usr/lib/mozilla/plugins[/code]

    • Alaa Alnajjar on

      Thanks Kimpe

      As for x64 compatibility module flash,the commands didn’t work for me, I had to copy from lib64/mozilla/plugins to lib/mozilla/plugins not the other way

  11. Hi, Is it possible to update firefox on edbuntu live edition..?
    It went every thing well.
    At last it gave can’t create link bcaz already exists.

  12. I always see: Permission denied, and I ca’nt figure out what to do, I can’t even copy any file to usr/local
    please help, I like CentOS

  13. Hi
    I would like to know on Centos 7 , with gnome gui installed, is this Firefox install will just replace the current Firefox Or it will install in a separate location ?

    Thanks

  14. Will this installation destroy the current version of FF, if say you change it a little and write:
    ln -s /usr/local/firefox/firefox /usr/bin/farefox

  15. Say is this version compatible with a 2006 ACER 5003WLMi 64 bit Turion running 2008-4 Ubuntu Lucid Lynx? Or what should I try to get- where’s the stable FF repository that still works? And Skype. Thanks.

  16. I have some error message here. How can I fix this problem? Thank you!
    XPCOMGlueLoad error for file /usr/local/firefox/libxul.so:
    libgio-2.0.so.0: cannot open shared object file: No such file or directory
    Couldn’t load XPCOM.

      • ubuntu@ubuntu ~/Downloads $ tar xvjf firefox-42.0.tar.bz2
        tar (child): firefox-43.0b6.tar.bz2: Cannot open: No such file or directory
        tar (child): Error is not recoverable: exiting now
        tar: Child returned status 2
        tar: Error is not recoverable: exiting now

        why happen this??

        • Anuket Jain on

          Hi Manm,

          You issue will be resolve using below commands:

          # bunzip2 firefox-42.0.tar.bz2
          # tar xvf firefox-42.0.tar

  17. Hi.. Rahul, in my linux (rhel 5.7 32bit i686 ) have alredy firefox 3.0 but i need lastest version how can i do please tell me i tried this article also but nothing new in my firefox
    i tried other rpm also but dependency problem can u please tell me steps please

  18. hi nice i installed and user for excuting command it showing error like error: no display specified please help me ..beacuse im using centos 6 in only cli mode

      • i install jira in centos cli system..now acces in my laptop in googlechrome…i start the jira setup step 1 is choose the internal databse or external databse ,,, i accidently choosen internal dabase ..now im in setp 2 application properties i want get back step 1 help me how there is no option to going back to setp 1

Exit mobile version