Table of contents
Open Table of contents
How to
There’s no easy way to downgrade or install a different version of a package except the latest one published in AUR.
These instructions allow you to downgrade a package or install any version that was published.
- Visit the AUR page of that package (I will use
virtualbox-bin
for this example)
https://aur.archlinux.org/packages/virtualbox-bin
- Then, click View Changes
- Select the version that you want
- Click Download
- Now, extract the downloaded file
- Open a Terminal inside the new folder
- Build the package by typing
makepkg
This will rebuild the package and create everything that is required to be installed by pacman
.
In this case, it created the virtualbox-bin
, virtualbox-bin-guest-iso
and virtualbox-bin-sdk
.
- Install the package using
pacman
pacman -U virtualbox-bin-6.1.40-1-x86_64.pkg.tar.zst