Generally when utilizing Ubuntu, packages don’t work accurately. If this occurs, it might be as a result of a current improve is much less steady than the earlier model. To repair this downside, you may downgrade software on Ubuntu to an earlier model.

There are just a few methods to downgrade software on Ubuntu. Particularly, the Linux terminal (by way of the apt-cache system) and the Synaptic package deal supervisor. On this submit, we’ll show how to use each of those instruments to downgrade software on Ubuntu.

Downgrade software by way of apt-cache

Ubuntu makes use of the Apt/Apt-get program administration instruments. One of many options of those instruments is that every time a package deal is about up on the system, it’s archived in one thing often known as the “Apt-cache.” On this cache, you’ll discover a number of totally different variations of packages you beforehand put in. So, for instance, say six months in the past you put in Wine model 3.6. Then, the opposite day it was upgraded to model 4.0. The three.6 launch continues to be within the cache and can be utilized in the event you want it.

The apt-cache system is an effective way to downgrade packages on Ubuntu that provide you with points. Although, take into account that it’s not 100% dependable. Why? Properly, many customers run the apt clear command to clear up their Ubuntu methods from extra junk, and one of many outcomes of working this command is that it clears the apt-cache.

Customers don’t want to set up any software to work together with the apt-cache, because the Ubuntu package deal supervisor comes with numerous helpful instructions built-in. Right here’s the way it works.

Step 1: Open up a terminal window on your Ubuntu PC by urgent Ctrl  + Alt + T or Ctrl + Shift + T on the keyboard.

Step 2: Use the apt-cache present command within the Linux terminal to search Ubuntu’s package deal cache for this system you need to downgrade.

apt-cache present name-of-program

Step 3: Look by way of the on-screen printout of search outcomes that the apt-cache search command returns, and preserve an eye fixed out for the model of this system you need. For instance, when you have points with Firefox model 65, you must search for a model under that within the search outcomes, and so forth.

9k=

Step 4: When you’ve discovered the model of the app you need to power Ubuntu to use, it’s time to set up it utilizing the Apt package deal administration device. Make certain to specify the precise model quantity you discovered within the search outcomes of the apt-cache search command within the “version” space of the command under.

sudo apt set up packagname=model

Different methods to discover variations of packages on Ubuntu

The apt-cache search technique of detecting totally different variations of packages within the Ubuntu apt-cache is fairly dependable. Nonetheless, it’s not the one approach customers can discover totally different variations of packages on Ubuntu in the event that they’d like to downgrade a problematic software. Right here’s another approach to do it, with out the “search” command.

Step 1: Open up a terminal on your Ubuntu PC by urgent Ctrl + Alt + T or Ctrl + Shift + T.

Step 2: Run the apt-cache coverage command. Utilizing “policy” will present you all accessible variations of a specific package deal, in addition to the place they are often put in.

apt-cache coverage packagename

Step 3: Set up this system on your Linux system with apt. Like earlier than, you have to specify the precise model quantity.

sudo apt set up packagename=model

Downgrade by way of Synaptic Bundle Supervisor

If you happen to’re not a fan of the apt-cache approach of doing issues, it’s doable to use the Synaptic package deal supervisor to power your system to use a selected model of a program — successfully downgrading software. Sadly, the Synaptic package deal supervisor was taken out of Ubuntu as a default piece of software a while in the past, so earlier than we proceed, you have to set up it. To get it working, launch a terminal window and enter the command under.

sudo apt set up synaptic

After putting in Synaptic, begin it up by trying to find it in your software menu. When this system opens up, you’ll be requested to enter your password. Accomplish that.

As soon as Synaptic is open, search for the search button and click on on it. Then, write within the title of the package deal (aka program) you’d like to downgrade and seek for it on the system.

Look by way of the search outcomes and click on on this system you need to downgrade. After that, click on on the menu that claims “Package,” and select the “Force version” choice.

Clicking “Force version” in Synaptic will deliver up a menu in your chosen package deal and permit you to select different variations of this system. Utilizing the menu, choose an older model then click on the “Force” model button to downgrade.

End up the package deal downgrade course of by clicking the “Apply” button on the prime.

Undo the downgrade

If it seems you need to undo your program downgrade on Ubuntu, right here’s what to do.

Step 1: Open up a terminal window and run the replace command to test for software updates.

sudo apt replace

Step 2: Run the improve command. Ubuntu will discover that the beforehand downgraded software is old-fashioned, and can set up the most recent model mechanically.

sudo apt improve -y

On the lookout for a approach to uninstall software on Ubuntu? Take a look at our detailed submit on the subject.



Source link

Share.
Leave A Reply

Exit mobile version