Downgrade Packages On Linux System: Linux Guide 2020

Downgrade Packages On Linux System: Linux Guide 2022

Tutorial to downgrade packages on the Linux operating system.

In this tutorial post, we are going to show you the multiple ways to downgrade packages on Linux operating systems.

How To Downgrade Packages On Linux System

Tutorial to downgrade packages on Ubuntu 22.04 LTS & Linux Mint

Method 1:
In this method, we will use apt command to downgrade packages in Linux. First, you should know the version of the packages being installed in your system.

Run apt command with a policy switch to figure out the version of the specific package:

apt policy firefox

After figuring out the version of the installed firefox, now you have to run the following command to downgrade the Firefox to the earlier version.

For example, we are downgrading to Firefox:

sudo apt install firefox=65.0+build2-0ubuntu1

Method 2:

In this method, we will downgrade the packages in Linux using dpkg command.

This command is easy and pretty straightforward. The following command will remove the current version and install the desired version of that specific package.

sudo dpkg -i package-file_name-x.0.2.deb

 

Method 3:

In this method, we can downgrade the packages using the synaptic package manager.

At first, you need to install a synaptic package manager. Run the following command to install:

sudo apt-get update
sudo apt-get install synaptic

After the installation is finished, Go to the  Synaptic package manager. Search the specific package name from the search box which must be in the right corner of the Synaptic Package Manager.

READ More Relevant Stuff:  Best Linux Operating Systems For Beginners In 2022

Now, select the Package which you want to downgrade, and from the drop-down menu (Package) select Force version. You can see the available version so that you can downgrade your package to an earlier version.

 

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply

    Your email address will not be published. Required fields are marked *