On Saturday 13 February 2010, Robert P. J. Day wrote:
> On Sat, 13 Feb 2010, Jim Green wrote:
...
> > Thank Robert and Ron, Could you list an example where I need to use
> > rpm command alone? I used rpm to install stand alone package if that
> > is the case.
>
>   i suspect there are yum alternatives for some of these but here's
> some stuff i like:
>
>   $ rpm -qa                   # list all installed packages
>   $ rpm -qR <pkgname>         # list dependencies of package
>   $ rpm -ql <pkgname>         # display list of files in package
>   $ rpm -qf <filename>                # what package is <filename> from?
>
> and many others.

One from me:

 $ rpm -V <pkgname>         # verify all files from installed pkg <pkgname>

/Peter

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to