Sometimes when checking on installed Red Hat packages it’s helpful to see the full package name, especially when you’re trying to distinguish between x86 and x86_64 versions. Here’s a handy one-liner for that:
rpm -q [PACKAGE_NAME] –qf “%{name}-%{version}-%{release}\
.%{arch}\n”
What this will get you is something like this:
rpm -q glibc –qf “%{name}-%{version}-%{release}.%{arch}\n”
glibc-2.5-24.x86_64
glibc-2.5-24.i686
If you need to check a [...]