Monday, March 16, 2009

RPM Print Package Version

rpm -qa --qf "%{n}-%{arch}\n"
output:

filesystem-x86_64
libXau-i386
wireless-tools-x86_64
libvorbis-x86_64


rpm -qi {package-name}
rpm -qa --qf "%{n}-%{v}-%{r}.%{arch}\n" | less
rpm --querytags | less

No comments: