A quick tip, for those who work with 64bit RHEL systems and are not sure which rpm architecture version is installed (i386, i586, i686, x86_64, or ia64 as an example).
rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n" | grep somename
Hope this helps someone out there.