In order to transfer rpms from one machine to another:

rpm -qa --queryformat "%{NAME} "
