How to install Firefox 48 in CentOS

To Install Firefox 48 in CentOS

Firefox is an open-source web browser used for surfing in Linux systems. It helps to protect your personal information and activities while surfing through online. More than 500 million people widely using Firefox, which supports more than 70 different languages. Installation of Firefox in CentOS is explained in this article.

Installation of Firefox

First you need to remove the existing package of Firefox by using the following command.

[root@linuxhelp Desktop]# yum remove firefox
Loaded plugins: fastestmirror, langpacks
Resolving Dependencies
-->  Running transaction check
.
.
.
  Verifying  : firefox-24.5.0-1.el7.centos.x86_64                                                           1/1 
Removed:
  firefox.x86_64 0:24.5.0-1.el7.centos                                                                          
Complete!


The below link will help you to download the firefox latest package.

[root@linuxhelp local]# wget http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/48.0.2/linux-x86_64/en-US/firefox-48.0.2.tar.bz2
--2016-08-30 13:30:02--  http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/48.0.2/linux-x86_64/en-US/firefox-48.0.2.tar.bz2
.
.
.
2016-08-30 13:31:27 (644 KB/s) - ‘ firefox-48.0.2.tar.bz2’  saved [56014221/56014221]


Extract the downloaded package by using the command line.

[root@linuxhelp local]# tar -xvf firefox-48.0.2.tar.bz2 
firefox/
firefox/libnss3.so
.
.
.
firefox/platform.ini
firefox/libnspr4.so


If you want to view the extracted directory, then list the current working directory.

[root@linuxhelp local]# ls
bin  etc  firefox  firefox-48.0.2.tar.bz2  games  include  lib  lib64  libexec  sbin  share  src


Soft-link is required to access the Firefox. For that create soft-link by using the following method.

[root@linuxhelp local]# ln -s /usr/local/firefox/firefox /usr/bin/firefox


Run the below command to checkout the Firefox version.

[root@linuxhelp local]# firefox -V
Mozilla Firefox 48.0.2


Now its time to open the Firefox browser in command prompt.

[root@linuxhelp local]# firefox


Homepage of Firefox browser will appear as shown below.

Start surfing and have fun with Firefox browser.

Tag : Firefox
FAQ
Q
How to extract downloaded package file?
A
By using the command line:

# tar -xvf firefox-48.0.2.tar.bz2
Q
How to remove an existing package of Firefox?
A
Run the following command:
# yum remove firefox
Q
What Is Mozilla Firefox?
A
Firefox is a free open-source web browser available for Windows, macOS, Linux, Android, and iOS. It’s available in more than 70 languages. Firefox’s interface is highly customizable and you can expand its functionality with a selection of more than 8,000 free Firefox add-ons.
Q
What Version of Firefox Do I Have?
A
Knowing which version of Firefox you’re using can help you troubleshoot a problem in addition to telling you whether Firefox is up to date. There are three ways you can find out your version of Firefox.
Q
How to Check Your Firefox Version?
A
Run the following command
# firefox -V