Install downgrade utility in Arch Linux
This package is not available in the official repositories. You can either install it from AUR or from the unofficial archlinuxfr repository. First we will see how to install it from AUR.
Install downgrade from AUR The downgrade package is available in AUR, so you can install it using any AUR helper programs such as Paru or Yay.
Using Paru:
$ paru -S downgrade Using Yay:
$ yay -S downgrade Install downgrade from archlinuxfr repository A word of caution: The official Arch Linux Developers and the Trusted Users do not perform tests of any sort to verify the contents of unofficial repositories. You must decide whether to trust their maintainers and you take full responsibility for any consequences of using any unofficial repository.
To add archlinuxfr repository, edit /etc/pacman.conf file:
$ sudo nano /etc/pacman.conf Add the following lines:
[archlinuxfr] Server = http://repo.archlinux.fr/$arch Save and close the file.
Update the repositories with command:
$ sudo pacman -Syu Then install “Downgrade” utility using the following command from your Terminal:
$ sudo pacman -S downgrade Downgrade a package in Arch Linux The typical usage of “downgrade” command is:
$ sudo downgrade [PACKAGE, …] [— [PACMAN OPTIONS]] Let us say you want to downgrade opera web browser to any available old version.
To do so, run:
$ sudo downgrade opera This command will list all available versions of opera package (both new and old) from your local cache and remote mirror.
Sample output:
Available packages:
- opera-37.0.2178.43-1-x86_64.pkg.tar.xz (local)
- opera-37.0.2178.43-1-x86_64.pkg.tar.xz (remote)
- opera-37.0.2178.32-1-x86_64.pkg.tar.xz (remote)
- opera-36.0.2130.65-2-x86_64.pkg.tar.xz (remote)
- opera-36.0.2130.65-1-x86_64.pkg.tar.xz (remote)
- opera-36.0.2130.46-2-x86_64.pkg.tar.xz (remote)
- opera-36.0.2130.46-1-x86_64.pkg.tar.xz (remote)
- opera-36.0.2130.32-2-x86_64.pkg.tar.xz (remote)
- opera-36.0.2130.32-1-x86_64.pkg.tar.xz (remote)
- opera-35.0.2066.92-1-x86_64.pkg.tar.xz (remote)
- opera-35.0.2066.82-1-x86_64.pkg.tar.xz (remote)
- opera-35.0.2066.68-1-x86_64.pkg.tar.xz (remote)
- opera-35.0.2066.37-2-x86_64.pkg.tar.xz (remote)
- opera-34.0.2036.50-1-x86_64.pkg.tar.xz (remote)
- opera-34.0.2036.47-1-x86_64.pkg.tar.xz (remote)
- opera-34.0.2036.25-1-x86_64.pkg.tar.xz (remote)
- opera-33.0.1990.115-2-x86_64.pkg.tar.xz (remote)
- opera-33.0.1990.115-1-x86_64.pkg.tar.xz (remote)
- opera-33.0.1990.58-1-x86_64.pkg.tar.xz (remote)
- opera-32.0.1948.69-1-x86_64.pkg.tar.xz (remote)
- opera-32.0.1948.25-1-x86_64.pkg.tar.xz (remote)
- opera-31.0.1889.174-1-x86_64.pkg.tar.xz (remote)
- opera-31.0.1889.99-1-x86_64.pkg.tar.xz (remote)
- opera-30.0.1835.125-1-x86_64.pkg.tar.xz (remote)
- opera-30.0.1835.88-1-x86_64.pkg.tar.xz (remote)
- opera-30.0.1835.59-1-x86_64.pkg.tar.xz (remote)
- opera-30.0.1835.52-1-x86_64.pkg.tar.xz (remote)
- opera-29.0.1795.60-1-x86_64.pkg.tar.xz (remote)
- opera-29.0.1795.47-1-x86_64.pkg.tar.xz (remote)
- opera-28.0.1750.51-1-x86_64.pkg.tar.xz (remote)
- opera-28.0.1750.48-1-x86_64.pkg.tar.xz (remote)
- opera-28.0.1750.40-1-x86_64.pkg.tar.xz (remote)
- opera-27.0.1689.76-1-x86_64.pkg.tar.xz (remote)
- opera-27.0.1689.69-1-x86_64.pkg.tar.xz (remote)
- opera-27.0.1689.66-1-x86_64.pkg.tar.xz (remote)
- opera-27.0.1689.54-2-x86_64.pkg.tar.xz (remote)
- opera-27.0.1689.54-1-x86_64.pkg.tar.xz (remote)
- opera-26.0.1656.60-1-x86_64.pkg.tar.xz (remote)
- opera-26.0.1656.32-1-x86_64.pkg.tar.xz (remote)
- opera-12.16.1860-2-x86_64.pkg.tar.xz (remote)
- opera-12.16.1860-1-x86_64.pkg.tar.xz (remote)
select a package by number: Just type the package number of your choice, and hit enter to install it.
That’s it. The current installed package will be downgraded to the old version.