Re: How can I know whether an installed rpm is 64 or 32 bit on x86_64 machine ? newbie

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

 



On Thu, 2007-02-22 at 21:56 +0200, Mark Ryden wrote:
> Hello,
> 
> How can I know whether an installed rpm is 64 or 32 bit on  x86_64 machine ?
> 
> For example: I have gedit rpm installed.
> 
> I know that this rpm is 64 bit ; I know this from "rpm -q gedit" and
> looking at the
> results - they have lib64.
> But:
> Is there some rpm command flag which enables me to get this info immediately?
> 

well if you just want to know the arch of the pkg you can run:

rpm -q --qf "%{name}-%{version}-%{release}.%{arch}\n" gedit

-sv


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux