PDA

View Full Version : Detecting s/w installed on Linux and Solaris


Suraj
01-06-2005, 11:48 AM
Hi,

I would like to list out all the software (database etc.) installed in my Solaris and Linux machine along with their version numbers. Could someone please guide me on how to obtain this information on both these OS-es using respective commands ?

Any help will be highly appreciated.

Thanks,
Suraj

bcarl314
01-06-2005, 01:37 PM
Depends, how were the apps installed? On the linux box, if you've got rpm installed, you already have an application database (the rpm database). Check the man page for rpm on how to query it. If you build from source, that's a different story.

Suraj
01-07-2005, 04:27 AM
"rpm -qa" in Linux and "pkginfo" in Solaris provides information of all the software installed using packages. But in this case, I know that Oracle is installed (but do not know how) but this is not indicated by either of the commands. I would like to know the version of Oracle installed and whether it's patches have been installed.

Please let me know.

Thanks,
Suraj