LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-25-2004, 09:36 PM   #1
Astropicachu
Member
 
Registered: May 2003
Location: London U.K.
Distribution: dual b. XP Pro and Mandrake 10
Posts: 75

Rep: Reputation: 15
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?
 
Old 01-25-2004, 09:37 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
try it like this :
rpm -qa | grep -i kmail
 
Old 01-25-2004, 10:03 PM   #3
Astropicachu
Member
 
Registered: May 2003
Location: London U.K.
Distribution: dual b. XP Pro and Mandrake 10
Posts: 75

Original Poster
Rep: Reputation: 15
(try it like this :
rpm -qa | grep -i kmail)

Like this I don't get any answer.
 
Old 01-25-2004, 10:07 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
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
 
Old 01-25-2004, 10:15 PM   #5
Astropicachu
Member
 
Registered: May 2003
Location: London U.K.
Distribution: dual b. XP Pro and Mandrake 10
Posts: 75

Original Poster
Rep: Reputation: 15
(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.
 
Old 01-25-2004, 10:19 PM   #6
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
that means the kdenetwork version 3.0.3-15 package is installed on your system
 
Old 01-25-2004, 10:25 PM   #7
Astropicachu
Member
 
Registered: May 2003
Location: London U.K.
Distribution: dual b. XP Pro and Mandrake 10
Posts: 75

Original Poster
Rep: Reputation: 15
Thanks a lot DrOzz. Don't pay any att. Just a frustrated newbie trying to learn.
Thanks again.
 
Old 01-25-2004, 10:26 PM   #8
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
not a problem man, everyone has been there at one point or another ...
 
Old 01-25-2004, 10:46 PM   #9
Astropicachu
Member
 
Registered: May 2003
Location: London U.K.
Distribution: dual b. XP Pro and Mandrake 10
Posts: 75

Original Poster
Rep: Reputation: 15
Appreciated, Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to download rpm packages of "gocr" and "kooka" satimis Linux - Software 6 02-24-2006 12:35 AM
Any difference? "Firefox.rpm" "Firefox.rpm.bin" Mic Q SUSE / openSUSE 4 05-06-2005 03:15 AM
DPKG & "files list file for package `pkg-config' contains empty filename" error :( Angelus Debian 2 04-02-2005 08:34 AM
Difference Between "Source RPM" "Static RPM" Mic Q SUSE / openSUSE 2 03-30-2005 07:51 PM
What's the difference between "rpm" and "*.noarch.rpm"? kpachopoulos Linux - Newbie 1 08-12-2004 12:03 PM


All times are GMT -5. The time now is 12:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration