Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-03-2004, 12:58 AM   #1
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Rep: Reputation: 30
checking for installed packages


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?

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

Rep: Reputation: 75
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, 04:53 AM   #3
Registered: Oct 2003
Posts: 58

Rep: Reputation: 15
If you use KDE, you might be interested in kpackage. Check out


Old 10-04-2004, 04:36 PM   #4
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, 08:15 AM   #5
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,449

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


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

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

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