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.