Yenya's World

Fri, 01 Jun 2007

RPM on a Multiarch System

Another command of the day, this time related to the RPM package manager on a multi-architecture system (the one which contains libraries for multiple architectures; typicaly an AMD64 system allows to run both i386 and x86_64 binaries):

$ echo '%_query_all_fmt        ' \
  '%%{name}-%%{version}-%%{release}.%%{arch}' \
  >> ~/.rpmmacros

This way the rpm -qa command displays also the architecture of the packages in its output.

Section: /computers (RSS feed) | Permanent link | 2 writebacks

2 replies for this story:

Adelton wrote: Not just rpm -qa

This works not just for -qa but for -q in general -- try rpm -q zlib.

Vasek Stodulka wrote:


Reply to this story:

URL/Email: [http://... or mailto:you@wherever] (optional)
Title: (optional)
Key image: key image (valid for an hour only)
Key value: (to verify you are not a bot)


Yenya's World: Linux and beyond - Yenya's blog.


RSS feed

Jan "Yenya" Kasprzak

The main page of this blog



Blog roll:

alphabetically :-)