[CentOS] problem with "yum install libXmu.so.6"

Wed Apr 26 01:22:17 UTC 2006
Nat Gross <nat101l at gmail.com>

On 4/25/06, Jim Perrin <jperrin at gmail.com> wrote:
> > > %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
> > Quick question before getting into the real stuff. I put the file into
> > /root. But do not understand what you meant to also put this file in
> > 'user'.
>
> You don't run as root all the time do you? You should have a user
> account that you use for most things, and if you want the same
> formatting options when querying rpm, you need to add this for your
> every-day user account also.
I always yum as root. Didn't realize I can use yum for 'medicore' stuff.
>
> > The output shows that I have it installed?
> >
> > First it shows:
> > -------------------------------------
> > xorg-x11-libs.i386                       6.8.2-1.EL.13.25       base
> > Matched from:
> > libXmu.so.6
> > -----------------------------------
>
> If you had it installed already you'd see
> xorg-x11-libs.i386                       6.8.2-1.EL.13.25       installed
>
> instead, you see base, which tells you which repository the package is in.
But in the list below, the last listing, it does show 'installed'.
> > --------------------------------------
> > xorg-x11-libs.x86_64                     6.8.2-1.EL.13.25       base
> > Matched from:
> > /usr/X11R6/lib64/libXmu.so.6.2
> > /usr/X11R6/lib64/libXmu.so.6
> > libXmu.so.6()(64bit)
> >
> > xorg-x11-libs.i386                       6.8.2-1.EL.13.25       base
> > Matched from:
> > /usr/X11R6/lib/libXmu.so.6
> > /usr/X11R6/lib/libXmu.so.6.2
> > libXmu.so.6
> >
> > xorg-x11-libs.x86_64                     6.8.2-1.EL.13.25       base
> > Matched from:
> > /usr/X11R6/lib64/libXmu.so.6.2
> > /usr/X11R6/lib64/libXmu.so.6
> > libXmu.so.6()(64bit)
> >
> > xorg-x11-libs.i386                       6.8.2-1.EL.13.25       base
> > Matched from:
> > /usr/X11R6/lib/libXmu.so.6
> > /usr/X11R6/lib/libXmu.so.6.2
> > libXmu.so.6
> >
> > xorg-x11-libs.x86_64                     6.8.2-1.EL.13.25       installed
> > Matched from:
> > /usr/X11R6/lib64/libXmu.so.6
> > /usr/X11R6/lib64/libXmu.so.6.2
> > libXmu.so.6()(64bit)
> > #
> > --------------------------------------
> > Please help clarify.
>
> It lists the same packages a couple times, because there are multiple
> files in those packages that match the query you gave it.
>
> You need to figure out if you need the i386 version or the x86_64  version.
Ahem. And how do I figure that out? Is there some rule of thumb? Why
wouldn't I always want the 64 version?
> Once you know this, then install it with yum install
> packagename.i386 or packagename.x86_64
>
> Clear? ( probably not entirely... welcome to the x86 vs x86_64 version of hell.)
Gettin' there. With your help.

Thanks again.
nat