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

About:

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

Links:

RSS feed

Jan "Yenya" Kasprzak

The main page of this blog

Categories:

Archive:

Blog roll:

alphabetically :-)