LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rpm -q "pkg-name" Help please (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-q-pkg-name-help-please-138617/)

Astropicachu 01-25-2004 08:36 PM

rpm -q "pkg-name" Help please
 
Hi people,
I'm just starting to play about with the Command Line. I read in one of the small tutorials that to check if a package is installed or not , one can use the CL by typing:
"rpm -q <pkg-name>".
It happens that I did that to try it with KMail, which I do have installed, and the answer I get in my CL is:
Package not installed.
What's happening?
Can anyone help?:confused:

DrOzz 01-25-2004 08:37 PM

try it like this :
rpm -qa | grep -i kmail

Astropicachu 01-25-2004 09:03 PM

(try it like this :
rpm -qa | grep -i kmail)

Like this I don't get any answer.

DrOzz 01-25-2004 09:07 PM

well i was just snooping around, and kmail is within a package
as you see here
so you'll probably get results by typing
rpm -qa | grep -i kdenetwork

Astropicachu 01-25-2004 09:15 PM

(so you'll probably get results by typing
rpm -qa | grep -i kdenetwork)

This way I get the following:
kdenetwork-3.0.3-15mdk.
But now I dont know what that means?
Any help please...
Thank you.

DrOzz 01-25-2004 09:19 PM

that means the kdenetwork version 3.0.3-15 package is installed on your system

Astropicachu 01-25-2004 09:25 PM

Thanks a lot DrOzz. Don't pay any att. Just a frustrated newbie trying to learn.
Thanks again.

DrOzz 01-25-2004 09:26 PM

not a problem man, everyone has been there at one point or another ...

Astropicachu 01-25-2004 09:46 PM

Appreciated, Thanks.


All times are GMT -5. The time now is 11:37 AM.