How do I copy an RPM package?

How do I copy an RPM package?
Answer
If you want to save a copy of the package as currently installed before upgrading or removing it, use
rpm –repackage — it’ll save the RPMs in /var/tmp or /var/spool/repackage or elsewhere, depending on your configuration. Otherwise, there exists rpmrebuild , which does exactly what you ask for.
 

Tìm kiếm

Back
Top