Re: 64-bit installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 03, 2009 at 03:15:53PM -0500, Piotr Romanus wrote:

> I looked at a single package to see what it contains:
> 
> $ rpm -ql zlib
> /usr/lib64/libz.so.1
> /usr/lib64/libz.so.1.2.3
> /usr/share/doc/zlib-1.2.3
> /usr/share/doc/zlib-1.2.3/README
> /usr/lib/libz.so.1
> /usr/lib/libz.so.1.2.3
> /usr/share/doc/zlib-1.2.3
> /usr/share/doc/zlib-1.2.3/README
> 
> But this set of files comes from 2 packages: zlib-1.2.3-3.i386.rpm and
> zlib-1.2.3-3.x86_64.rpm:

Yes, you should do "rpm -ql zlib.i386" or "rpm -ql zlib.x86_64" to
see the files from one package.

> My question is how to make sure that I have /lib and /usr/lib
> populated with 32-bit libraries? Do I first install 32-bit version of
> the package and then 64-bit version? Or do I list both packages on a
> single rpm line? Or maybe there is some other way?

List packages like this:

   rpm -qa --qf '%{name}.%{arch}'

and you'll see what's there.

Normally on RHEL5, if you install a package, both 32-bit and 64-bit
are installed if they exist both.  You can always explicitly install
one version with "yum install pkg.i386" or "yum install pkg.x86_64".

> $ rpm -q zlib-1.2.3-3
> zlib-1.2.3-3
> zlib-1.2.3-3
> 
> The output seems to suggest that 2 packages of zlib are installed. Am
> I right is suspecting that one of them is i386 and the other x86_64?

Yes, see above for how to get a better listing.  The arch is listed
by default on Fedora 9+ (IIRC), but not on RHEL yet.

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux