Reinstalling Packages on CentOS or RHEL Revision as of Sunday, 20 December 2015 at 19:56 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'Ā 'Ā ')