LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Question about package mgmt (https://www.linuxquestions.org/questions/slackware-14/question-about-package-mgmt-386474/)

thorney 11-25-2005 01:16 PM

Question about package mgmt
 
Hi,


Does anyone know if there is an equivalent to:

rpm -qa | grep somePackage

in slackware? It would be nice to easily query which packages are installed on the system!

thanks

XavierP 11-25-2005 01:18 PM

Run pkgtool in a console as root.

thorney 11-25-2005 01:23 PM

thanks, that works but do I have to view the entire list? I can't filter out the packages I want to see in any way?

keefaz 11-25-2005 01:26 PM

Maybe use grep or if you use KDE, try kpackage
Code:

grep somePackage /var/log/packages/*

thorney 11-25-2005 01:31 PM

I tried:

ls /var/log/packages | grep packageName

and it worked nicely.

thanks a lot


All times are GMT -5. The time now is 10:42 AM.