Technology Insights

Use yum on Linux to Install Previous Package Versions

When installing packages via yum the default will be to install the latest and greatest package that you request. It is possible however to install previous versions of the package by first seeing what versions of the package are available followed by a more detailed command to install a previous version.

Search Package Versions
First issue the below command to use yum yo display all versions of a package. This will only work on yum versions 8.1.X and below. See below for what to do on yum versions 8.2.X and above.

bash

  1. yum search package_name