While installing the package Test-5.0-201208280707.amd64.rpm
I have a 64 bit RHEL 6 Machine and it's architecture is i386 :
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.3 (Santiago)
# rpm --eval '%{_arch}'
i386
When I try to install a package using rpm
:
rpm -ihv Test-5.0-201208280707.amd64.rpm
it complain me the error :
package Test-5.0-201208280707.amd64 is intended for a amd64 architecture
When the same thing I try with x86_64 rhel5 architecture it work fine