How to install firefox on linux in Simple ways


how to install firefox on linux

How to download and install Firefox on Linux

Mozilla Firefox is the official Internet browser for Ubuntu, therefore, most Ubuntu distros have it installed by default. If your system lacks this browser due to any reason or if you have accidentally deleted it, we will tell you how to install it on your Ubuntu. In this article, we will describe the following ways to install Mozilla Firefox on your system. You can then make a choice based on the source you want to install Firefox from and also if you want to use the UI or the command line.

Many Linux distributions include Firefox by default while most have a package management system - a preferred way to install Firefox. Package management system will:

  • Ensure that you have all the required libraries
  • Install Firefox optimally for your distribution
  • Create shortcuts to launch Firefox
  • Make Firefox available to all users of your computer
  • Make removing Firefox work the same as removing any other application
  • Package management system has downsides:
  • It may not give you the latest Firefox version
  • It may give you a version without Firefox branding

In this tutorial you will learn how Firefox on Linux

  • How to install Firefox outside package manager

The support sites for some Linux distributions have complete instructions on how to install Firefox without using a package manager, although a few information may be out of date. For example:

You can also follow the instructions below to manually install on each user's account.

Before you install Firefox, make sure that your computer has the required libraries installed. Missing libraries will cause Firefox to be inoperable.

The installation file provided by Mozilla in .tar.bz2 format has pre-compiled binary files as opposed to sources. There is no need to compile the program from the source: simply unpack and run the binaries.

The following instructions will install Firefox into your home directory. Only the current user will be able to run it.

1. Download Firefox from the Firefox download page to your home directory.

2.Open a Terminal and go to your home directory:

cd ~

3. Extract the contents of the downloaded file:

tar xjf firefox-*.tar.bz2

4. Close Firefox if it's open.

5. To start Firefox, run the firefox script in the firefox folder:


6. Firefox should now start. You can then create an icon on your desktop to run this command.

There's no need to keep the installation file:

rm firefox-*.tar.bz2

libstdc++5 error

As noted above, you need to install the required libraries for Firefox to work. Many distributions don't include libstdc++5 by default.

"firefox not installed" message or wrong version of Firefox starts

If Firefox is installed following the instructions given above, it must be started (in a Terminal or in a launcher on the Desktop, for example) using the command: ~/firefox/firefox

If you try to start Firefox in a Terminal with the command: firefox, it will either start the package-manager-installed version of Firefox or will tell you the program is not installed.

Post a Comment

Post a Comment (0)

Previous Post Next Post