One of the important task of Linux system administrator is to update packages on the servers. There can be some scenarios where Linux admin apply updates on servers but after applying updates application hosted on the server might not work properly due to incompatibility of new updates, In that case we don’t have any option but to rollback updates.

As we know that on Linux servers (RHEL & CentOS) updates are applied with yum command and updates can be rollback with “yum history command“.

Let’s assume i have a Apache Web Server running on CentOS 6.x/7.x or RHEL 6.x/7.x. I got the requirement from development to update the existing “httpd” package to the latest one.

Updating Package on RHEL / CentOS Servers

Let’s first verify the existing http package version using beneath command

Use below command to see the latest available httpd package

[[email protected] ~]# yum list httpd