[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpm -qa and architecture info



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 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 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]