How do I prevent the downloaded rpm file from being deleted after an install?

Created by Rehan Khan
Keywords:

You can prevent downloaded RPM files from being deleted after an install by running the following command

smart config --set remove-packages=false

The packages will be retained in /var/lib/smart/packages.