| |
Quiry RPM packages with rpm
Exercises
What packages are installed on the system?
A friendly readable list comes after sorting the output:
Quiry package status with rpm:
Display information about the installed package:
List the files contained in the package:
Which package owns a file? For example, command /bin/ls
RPM dependencies:
If there is no package dependencies or the dependencies have already been resolved, then a package can be simply installed with
command rpm from its file. Otherwise, use YUM.
Install package make from its rpm file:
It says the package is already installed.
Try to remove package make by using command rpm:
It won't go because openssl package depends on it.
Quiry a package file, for example:
The second command above shows the files contained in the package file, and the third command displays the info about the package.
More info about command rpm can be found in the man pages:
|
|