We may need to install some old packages such as the kernel in our Linux box. Let’s use installing a older version of Linux kernel in Fedora as the example to introduce how to install old packages from the repository using yum.
By now, suppose we have install kernel-184.108.40.206-143 in the Linux box and we want to install some older kernel in the repository.
First find out all the kernels in the repository by:
# yum list --showduplicates kernel
All the kernel packages will be listed like this:
Installed Packages kernel.i686 220.127.116.11-141.fc12 @updates Available Packages kernel.i686 18.104.22.168-127.fc12 fedora kernel.i686 22.214.171.124-150.fc12 updates
We find out that 126.96.36.199-127.fc12 kernel package is available. We can install it now:
# yum install kernel-188.8.131.52-127.fc12
Then yum will install the kernel of older version. For other packages, the method is similar with kernel. We just need to replace kernel with the package name above.