• Post Reply Bookmark Topic Watch Topic
  • New Topic

Solaris Software Installation  RSS feed

 
SonalPSPL Bagmar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am new to Solaris Platform . I would like to know whether the machine on which I am working has Oracle9 installed on it or no?

How do I proceed?


Regards
SONAL
 
Pat Flickner
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sonal, try typing in the following command:

which oracle

It should be listed under oracle. (If not, ask the sysadmin, who should always know what's on the box). If it is there, you should get back a single location. Otherwise, you'll get back something like:

no oracle in /usr/bin /usr/local/bin /......

and it will list all the directories in your $PATH.

Hope that helps.
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In contrast to Pat I don't know Solaris, but on my linux-machine, 'which oracle' shows nothing, since it isn't in the path.

I don't know if 'locate' is available on solaris, so 'locate oracle' isn't expensive.

could be another test.
 
Paul Santa Maria
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have Solaris, it was probably installed with the standard "setup" tools and, consequently, registered in the system's "installation package database".

So the best way is probably to check with the OS-level package manager.

For example:

SOLARIS:
pkginfo | grep -i oracle

HPUX:
swlist -l | grep -i oracle

AIX:
lslpp -L all | grep -i oracle

LINUX:
rpm -qa | grep -i oracle

A "cheat sheet" of common Unix commands - and the differences between different *nix platforms - can be found here:

http://www.unixguide.net/unixguide.shtml

Hope that helps .. PSM
 
Tim Holloway
Saloon Keeper
Posts: 18789
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, since Oracle's a product from Oracle Corporation, not Sun Microsystems and about the cheapest version I know of for business server use runs about $16K/cpu, statistically, it's not likely that the box has Oracle on it.

Usually the Oracle stuff will be in a directory named /OraHome or at least /Ora-something.

However, Oracle is a database server. Just because Oracle's not on that box doesn't mean that some other machine in the network isn't running Oracle. In which case that machine would still have Oracle available to it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!