28 Apr

rpm: show packages with names only

Sometimes it’s needed to get only packages names only using rpm. This is how it can be done:

rpm -qa --qf "%{NAME}\n"


Leave a Reply

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