Can I revert to the previous package version?

Yes, you can revert to a previous package version using the package manager in Linux. The method varies depending on the package manager you are using. Here are examples for APT and YUM:

For APT (Debian-based systems like Ubuntu):

  1. First, check the available versions of the package:

    apt list --all-versions package-name
  2. Then, install the specific version you want:

    sudo apt install package-name=version-number

For YUM (Red Hat-based systems):

  1. Check the available versions of the package:

    yum --showduplicates list package-name
  2. Install the specific version:

    sudo yum install package-name-version

Make sure to replace package-name and version-number with the actual package name and the version you want to revert to.

0 Comments

no data
Be the first to share your comment!