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

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



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



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