[CentOS] one-shot yum command to match rpms between systems?

Frank Cox

theatre at melvilletheatre.com
Wed May 18 06:54:51 UTC 2016


Given a list of rpms on one system (rpm -qa > list.txt), is there a one-shot command that I can run on another system to remove all of the rpms not listed and add any that are on the list and not present on the second system?

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com



More information about the CentOS mailing list