19 Jan

How to get names only list of all packages on Centos

Names only:

rpm -qa --queryformat='%{name}\n'

With versions includes:

rpm -qa


Leave a Reply

Your email address will not be published. Required fields are marked *