Today I needed to install an Oracle Client on a new Solaris10 (x86 64bit) installation: I found a useful tutorial here but it helps you to install the whole database and not only the client. As you may guess the client installation is easier than the Oracle DB Server one.
The first thing to do is to check if you have installed the prerequisites packages:
1 2 3 4
If you see any error here you must install the missing packages: if you did the “full installation” you should have all packages already installed.
Now its time to create user, groups, directories and project: as root type
1 2 3 4 5 6 7 8 9
OK… as root we have temporarily finished!
Now log in with the oracle user and download the Oracle Client 10g for Solaris10 from Oracle website: once there you need to select the right architecture (Solaris exists for SPARC and x86 both 32 and 64 bit) and get the right archive for the Oracle client installation. In my own situation (Solaris10 on a x86 64bit) I downloaded the file called 10201_client_solx86_64.zip and I typed:
1 2 3
As you can see I used /opt/oracle/oraInventory and I leaved the group oinstall as the default group.
As ORACLE_HOME I used /opt/oracle/product/10.2.0/client_1.
Just before the installation finishes it prompts to you to execute two more commands as root: in my own installation I run
1 2 3
but, as you may guess, your path may be different from mine.
Now, if you want to use the just installed oracle binaries, you need to change the .profile of the user adding at the end:
1 2 3 4 5 6
I hope this tutorial can help you… if you find errors please report them to me and I will correct as soon as possible.