Using RPM to query options with RPM packages

There are several options that are used in combination with query options. Some popular ones are as follows:

  • List all the packages installed in the system:
$ rpm -qa
  • Find a specific package installed in the system by piping the output of the previous command to the grep command, as shown here:

  • Identify the package that installed a file on the system, as shown here:
  • Display the list of files installed by an RPM package, as shown here:
  • Display the recently installed RPM package, as shown here:
  • Display information on the installed package, as shown here:
  • Display the documentation of the file installed by a package, as shown here:
  • Display the documentation installed by package, name as shown here:
  • Display the configuration file installed by the package, as shown here:
  • Display the list of change information of a specific package, as shown here:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.88.249