Reinstalling Packages on CentOS or RHEL Raw
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'Ā 'Ā ')
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'Ā 'Ā ')