RPM Package Manager command

1、rpm -q

(1) check whether one has been installed rpm package:

For example: rpm -q httpd

(2) -qa: query all installed packages:

2, the query package details:

rpm -qi

-i: Query package information (already installed, you can write the package name)

-p: Package Information Query is not installed (not installed, you must write the full name of the package)

3, query the package file installation location:

rpm -ql + package name

For example: rpm -ql httpd

-l: List

-p: Information package is not installed (the full name of the package, though not installed, but if it is installed in this position)

4, the query system files package:

rpm -qf + file path (through must be packed out)

5, the query-dependent software packages:

rpm -qR + package name

R: Query has been installed

p: Query is not installed

Everyone will have a period of exceptionally difficult time. The pressure of life, job frustration, academic. Living in fear of love. Get over it, life will suddenly see the light. But quite come, time will teach you how to shake hands with them, so do not be afraid of. - Yang Jiang

Released four original articles · won praise 1 · views 572

Guess you like

Origin blog.csdn.net/m1ssyAn/article/details/104652417