Reinstalling Packages on CentOS or RHEL Revision as of Monday, 21 December 2015 at 02:30 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'Ā 'Ā ')