LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-02-2004, 11:58 PM   #1
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Rep: Reputation: 30
checking for installed packages


hi,

is there any way beside "rpm -ql package" to find out if a package is installed on your pc or not ? and how to find out what version again without using rpm command? and to find out where the package is installed?

thanks
 
Old 10-03-2004, 03:40 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
you can use synaptic, the GUI frontend to apt. I think if you use YUM, there should be a GUI available as well.
 
Old 10-03-2004, 03:53 AM   #3
zakaluka
Member
 
Registered: Oct 2003
Posts: 58

Rep: Reputation: 15
If you use KDE, you might be interested in kpackage. Check out http://www.general.uwa.edu.au/u/toivo/kpackage/.

Regards,

zakaluka2.
 
Old 10-04-2004, 03:36 PM   #4
dubya
Member
 
Registered: Mar 2004
Location: Kitchener, Ontario, Canada
Posts: 386

Rep: Reputation: 30
All of the aforementioned are perfectly fine ways to do what you need.

Personally, I use the command rpm -qa | grep package-name

The rpm -qa command displays a list of all the packages installed on your system with there version number within the name.

Piping the command into grep ( | grep) goes through the list and picks out strings with the words you specify in them.

If you have the time you should read the man pages for rpm and grep to fully understand.

Hope this helps.
 
Old 10-05-2004, 07:15 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
I recommend using the -i (case-insensitive) switch on the grep cmd, just to be sure... Linux is case sensitive....
 
  


Reply



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
Checking installed packages? Nickj Linux - Newbie 4 07-19-2005 05:58 AM
checking for proper driver installed jasmeet93 Linux - Hardware 0 08-07-2004 10:50 PM
RPM is saying installed packages aren't installed ticky87 Linux - Newbie 4 07-26-2004 01:17 AM
where are packages installed? InTheWired Linux - General 10 04-08-2004 04:46 AM
checking whether a packge is installed ludwig W Linux - General 5 05-06-2003 03:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration