pydelion.com

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"
Exit mobile version