Quote:
Originally Posted by sag47
Code:
yum install libXext.i686
Let yum do the heavy lifting.
|
cooltoad, The above answer from sag47 is all you need. I just want to also explain what went wrong for you.
An important general rule is to put .i686 after the package name when you want yum to install the 32-bit version.
Quote:
Originally Posted by cooltoad
When I try to locate libXext.so.6 file I get this
# locate libXext.so.6
/usr/lib64/libXext.so.6
/usr/lib64/libXext.so.6.4.0
|
That tells you that you have the 64 bit version. You probably understood that.
Quote:
and when I try to install the 32-bit rpms
|
Don't download and install rpm's that way unless you can't get them with yum.
Quote:
I get this
# rpm -Uhv libXext-1.3.1-2.el6.i686.rpm
warning: libXext-1.3.1-2.el6.i686.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
error: Failed dependencies:
libX11.so.6 is needed by libXext-1.3.1-2.el6.i686
# rpm -Uhv libX11-1.5.0-4.el6.i686.rpm
warning: libX11-1.5.0-4.el6.i686.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
error: Failed dependencies:
|
The long chain of manual dependencies is only ONE of multiple reasons why it is better to use yum.
Quote:
When I try to install using yum
# yum install libXext-1.3.1-2.el6.i686.rpm
|
You aren't supposed to type the .rpm part of the name when using yum install. Usually you are not supposed to type the "-1.3.1-2.el6" part either. Usually you should let yum get the current (for your system) version. But you do need the ".i686" part if you don't want the default (x86_64).
Sometimes you need a specific other version, but that can get complicated. Don't ask for a specific version unless you really need it.
Quote:
I have already added EPEL and RPMForge Repository.
|
Good. But that package is in base.