0

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

Linkid
  • 517
  • 5
  • 17
anish
  • 6,884
  • 13
  • 74
  • 140

2 Answers2

1

Your 64-bit machine is running in 32 bit mode.

In 32 bit mode, you can only install 32 bit rpm's.

In 64 bit mode, you can install both 32 bit and 64 bit rpm's.

If you really want to install 64 bit mode rpm's like the on you have, you will have to reinstall your system with a 64 bit install disc instead.

Thomas Vander Stichele
  • 36,043
  • 14
  • 56
  • 60
0

package Test-5.0-201208280707.amd64 is intended for a amd64 architecture

RPM is precompiled pack, and the installer is supposed for an architecture of type x86_64 and not i386. You cant install executables on different platform rather than one, which it is meant for.Otherwise result may be devastating.

perilbrain
  • 7,961
  • 2
  • 27
  • 35