rpm -qa and architecture info

Amit Maheshwari aamit.redhat at gmail.com
Wed Mar 10 07:31:03 UTC 2010


Hi,

# rpm -qa (Show all installed packages)
# rpm -qi *PackageName  *(Show information about Package)



On Wed, Mar 10, 2010 at 1:01 AM, Yong Huang <yong321 at yahoo.com> wrote:

> `rpm -qa' shows the package names (and versions and releases). This command
>
> rpm -qa --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n'
>
> shows that plus architecture. Is there a shorter command that does the
> same, i.e. shows name, version, release and arch? It's hard to remember and
> type that long line. I want something like
>
> rpm -qa [a simple option that shows arch IN ADDITION TO what the preceding
> option i.e. -qa shows]
>
> Yong Huang
>
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
Amit Maheshwari
Linux System Administrator
RHCE,MCSA,AFCEH,
New Delhi, INDIA
Sykpe: sysadmin.amit
http://onedollardata.com



More information about the redhat-list mailing list