LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
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
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
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: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:29 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