Javatpoint Logo
Javatpoint Logo

Update Firefox Ubuntu

Accessing the internet using the older Firefox version involves various security risks. In older versions known security bugs might give attention to hackers to break the system security. Firefox must be kept up to date for minimizing the security risk. Firefox is a default browser on Ubuntu.

Also, it gets installed while Ubuntu is installed. However, the latest Firefox version is used while the installation disk of Ubuntu is compiled, it must be updated after the installation process. Both Ubuntu and Firefox use different release and update cycles. We might get a previous version of Firefox because of this difference from the default installation.

The web browser is arguably the most essential software piece on our system. We use many web browsers to maintain the social networks for online banking. All hackers exploit the vulnerabilities of our browser to attack our system and steal important data, so it's very necessary for us to keep our browser updated.

To see the currently installed version of Firefox, we need to open the command line terminal and enter the following command:


Update Firefox Ubuntu

Install and update developer version

With the stable and regular versions, Firefox publishes the developer versions as well. The developer version includes the latest features and updates. Firefox offers these features and updates without testing hence these versions may include bugs or may not implement as expected.

If we use Firefox only to access the internet or as regular users, there is no requirement for using these versions. This developer version is just intended for developers, security testers, programmers, or administrators who want for testing their programs or applications with a new version.

Ubuntu by default doesn't install and update a developer version. If we require this version for the purpose of development, then we can install it using the following commands:




Update Firefox Ubuntu
  • The first command will add a repository for a developer release.
  • The second command will update the repositories.
  • The third command will install the Firefox browser.

Installing Firefox using the Ubuntu Software Manager with Snap Store

For a user who doesn't want to use the terminal window much, installing any software available in the repository of Ubuntu from the UI is very easy.

  • We need to select the icon, i.e., Ubuntu Software on the Activities toolbar of our Ubuntu desktop.
  • Press on the search icon and type firefox within the search bar. We will find Firefox in the search results.
    Update Firefox Ubuntu
  • Press on the button, i.e., Install to start the process of installation.
  • An authentication dialog box will show for us to give our authentication details because an authorized user can only install the software in Ubuntu.
    We need to enter our password and press the button, i.e., Authenticate.
  • After that, the process of the installation will start that will be showing a progress bar.
  • Then, the Mozilla Firefox browser will be installed on our system.

Launching Firefox

Now, Firefox should ideally be present in our system Activities/Dock panel. Also, we can access it using the Ubuntu application launcher bar or directly access it using the applications listing.

Update Firefox Ubuntu

Removing Firefox

If we want to delete Firefox that we installed with the help of the above method, then we can delete it from our system using the following method:

  • We need to select the Ubuntu Software Center and open it.
  • Then, we will search Firefox.
  • We will find the installed status within the search entry.
  • Press on this entry and press on the Remove option.
  • The system will ask us for authentication and a dialog box will appear. The application will be deleted when we give the password for the root user and press on the Authenticate option.

How to check the installed Firefox version

We need to follow the following steps to check the currently installed Firefox version:

  1. First, we need to launch the Firefox browser.
  2. Press on the menu icon.
  3. Select the Help option using the opened menu.
  4. Press on the about Firefox option using the opened context menu.
    Update Firefox Ubuntu

The information of the version will be displayed in the opened pop-up window.

We can update the Firefox version to the current version if the version is not the latest one. We can do it by following the techniques explained as follows.

How to update the installed Firefox version

Firefox browser is installed as the core extension on Ubuntu. Automatically, Ubuntu establishes and configures mandatory repositories for these core extensions for easier management. These repositories include every necessary detail that Ubuntu requires for managing the core extensions.

We can update the core extension using these repositories in two ways which are mentioned below:

  1. Updating the whole system
  2. Individually updating the extension

Updating the whole system

Every core extension is get updated to their stable and latest version if we implement a system update. Also, Firefox gets updated because it is a part of these core extensions as well.

We need to connect our system to the internet and execute the following commands to implement a system update:


Update Firefox Ubuntu

Update Firefox Ubuntu
  • The first command will adjust and update every configured repository. Ubuntu implements various necessary tasks during this process such as downloading, installing, and importing essential public keys, checking whether every configured repository is accessible or not, comparing installed packages (locally) with available packages (remotely) for preparing available updates list, etc.
    • The software package management (removing/adding the repository, removing/installing software, etc) needs the privileges of the root user.
    • The user account during the installation process has mandatory privileges which we create. Enter the password for that account if it prompts for the authentication.
  • The second command will pull every available update using the configured repositories and then install them.
    • This option can be our first choice if our system is connected to a high-speed connection of Internet without any data limit.
    • It might consume a lot of time and data because this option will update every system package and extension collectively. We should not apply this option if we have restricted data in our internet pack or we have a slow connection to the internet.

We will need to restart our system using the following command once every update is retrieved and installed:

Note: The reboot command is not needed, but it is the easiest way for cleaning the package's leftovers and cache.

Check the version of the Firefox browser again for verifying that it is updated after restarting the system.

Individually updating Firefox

If we wish update just Firefox because of any reasons (like low balance data or slow internet connection) then we need to use the below commands:



Update Firefox Ubuntu
  • The first command will adjust and update every configured repository as mentioned above.
  • The second command will update only Firefox.

Launching Firefox

We need to use the following command for launching the Firefox browser:


Update Firefox Ubuntu

Uninstall or remove Firefox

We need to run the following command to remove the Firefox browser:

Click "y" and the uninstallation process will begin. We would not have the Firefox browser on our system.

Until the cache of the package is cleared, the version information of Firefox doesn't update. We need to you either use the below command or restart the system for cleaning the package cache:

We need to check the version of Firefox again for verifying the update once the packet cache is cleaned.







Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA