Related Items  

Linux and Windows IT Support  

dedicated-technology-experts

Windows, Apple and Linux IT support and services.

For Software and Web Development.

rpm command: list packages

PrintE-mail

Q. How do I search and query the packages installed on my Linux box using rpm? (OpenSUSE, FedoraCore, Red Hat, CentOS, etc).

A. You can query the packages using:

rpm -qa

This will output all packages installed, if you are looking for a particular package, you can pipe your results into grep. Here's for example a search for all packages that have "kernel" in the name:

rpm -qa | grep "totem"

Once you have narrowed down the package name, you can display the it's information:

rpm -qi totem

 You can also query the contents of the package, by running the following command:

rpm -ql totem

 

Add your comment

Your name:
Subject:
Comment:
  The word for verification. Lowercase letters only with no spaces.
Word verification:
yvComment v.1.24.0
   
Copyright © 1999 - 2024 Virtual Helpme | Techical Support and Maintenance | Original Template: Allrounder