LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-31-2011, 04:52 AM   #1
angos
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Rep: Reputation: 0
queriying installed softwares


hi all
i have been reading some linux docs on how to query install softwares.
rpm -q oracle,
but i am working on a server that i know that has oracle in it,
but the rpm -q oracle command doesnt show that it has oracle in it.
is there any other command to check for installed softwares in linux?
 
Old 03-31-2011, 05:01 AM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,184

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
Please tell which distribution you use so we can tell you what is the relevant command in your case.

Not all distributions use rpm to install or query software.
 
Old 03-31-2011, 05:29 AM   #3
angos
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
am using redhat release 4
 
Old 03-31-2011, 05:35 AM   #4
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,184

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
Then rpm should be the command to use, as it stands for 'Red Hat Package Manager'

May be try 'rpm --rebuilddb' then before 'rmp -q', see 'man rpm'.
 
Old 03-31-2011, 08:22 AM   #5
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: SLED, openSUSE
Posts: 1,022

Rep: Reputation: 172Reputation: 172
To list all packages currently installed
Code:
rpm -qa
To find packages with oracle in the name

Code:
$ rpm -qa | grep -i oracle

To find information about a specific package
Code:
$ rpm -qi packagename

As Didier Spaier said, 'man rpm' for more information.
 
  


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
How to use softwares in ubuntu which are installed in window amritpalpathak Linux - Software 4 02-27-2010 01:37 AM
Log for installed patches/softwares SBN Linux - General 7 03-19-2009 05:51 PM
how to find the Softwares installed by Wine ? mianmajidali Linux - Software 1 02-09-2009 12:20 PM
About list of softwares installed in Solaris rajaniyer123 Solaris / OpenSolaris 3 05-24-2007 09:50 PM
finding installed softwares mili General 1 08-01-2005 06:40 AM


All times are GMT -5. The time now is 09:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration