LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rpm query (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-query-315770/)

lucky123 04-21-2005 01:30 PM

rpm query
 
With RPM , the command to look for whether a particular package is installed or not is:
rpm -qa <p- name >

But i want to know what is the option with rpm that is used to search for all packages with a particular keyword .
.eg packages with keyword kde.

***

There is a option --changelog with rpm that display change information about athequeried rpm.
What change information it displays.


Please anybody help me wth the answers

david_ross 04-21-2005 01:41 PM

Just use grep:
rpm -qa | grep kde


All times are GMT -5. The time now is 08:12 AM.