Tatva-Artha

meaning of "it"

Archive for the ‘yum’ tag

Centos: querying installed packages and versions

without comments

Here is a command that lists all packages installed on centos (or any linux using yum package management system):

rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n"

The beauty about this protocol is the output is formatted to display version architecture stuff in one line – great for grepping…

Written by admin

May 21st, 2009 at 5:20 pm

Posted in All,Technology

Tagged with ,