Reinstalling Packages on CentOS or RHEL Revision as of Sunday, 27 December 2015 at 07:27 UTC
Installed package lists are kept in /var/log/rpmpkgs
.
cpĀ /var/log/rpmpkgsĀ /backups/packages
Reinstall with
yumĀ installĀ $(sedĀ 's/-[0-9].*.rpm$//g'Ā /backups/packagesĀ |Ā trĀ '\n'Ā 'Ā ')