Question: How Do I Downgrade a Package in Ubuntu?
Contents

How do I downgrade a package in Linux?

How to Downgrade Software/Package in Linux

  1. sudo apt install firefox=60.1.
  2. cat /var/log/zypp/history | grep package_name.
  3. ls /var/cache/pacman/pkg/ | grep package_name.
  4. sudo pacman -U /var/cache/pacman/pkg/package_name-version.pkg.tar.xz.

How do I downgrade apt packages?

To downgrade an installed package we simply install a previous version available from the package’s source repo. We use the same commands used above to install a specific version. Apt will remove the currently installed version and replace it with the version we specify.

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest