Today I needed to install the Oracle Client 10g on a Red Hat Enterprise Linux 5 64bit: all around the net you can find many useful tutorial on how to install the Oracle DB Server but I cannot find how to install only the client. As you may guess the client installation is easier than the Oracle DB Server one.
On the linux machine, as root, you have to run the following commands:
//create user and groups
# groupadd oinstall
# groupadd dba
# useradd -g oinstall -G dba oracle
# passwd oracle
//prepare the filesystem
# mkdir /opt/oracle
# chown -R oracle:oinstall /opt/oracle
//install some needed packages
# yum install libXp gcc make setarch libaio glibc-devel
//change /etc/redhat-release as RHEL5 is not a supported platform
# cp /etc/redhat-release /etc/redhat-release.5
# echo redhat-4 > /etc/redhat-release
OK… as root we have now finished!
Now log in with the oracle user and download the Oracle Client 10g 64bit from Oracle website: once there get the file called 10201_client_linux_x86_64.cpio.gz. Open the cpio oracle client archive and run the client installation program:
# gunzip 10201_client_linux_x86_64.cpio.gz
# cpio -idmv < 10201_client_linux_x86_64.cpio
# cd client
# ./runInstaller
I pointed the oraInventory directory to /opt/oracle in the first screen; in the second one I choose to install the Oracle 10g Client in /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
//execute the following commands as root
# /opt/oracle/orainstRoot.sh
# /opt/oracle/product/10.2.0/client_1/root.sh
but, as you may guess, your path may be different from mine.
Now the final step: we have to restore the /etc/redhat-release file we changed before:
# mv /etc/redhat-release.5 /etc/redhat-release
I hope this tutorial can help you… if you find errors please report them to me and I will correct as soon as possible.

Hi,
I am trying to install Oracle 10g on RHEL 5 and able to surpass the installation to a certain extent by adding release 5 in oraparam.ini. But unfortunately the system agains shoots a message stating that RHEL 5 is not supported.
Hi Vamsee,
probably you missed this statement:
//change /etc/redhat-release as RHEL5 is not a supported platform
# cp /etc/redhat-release /etc/redhat-release.5
# echo redhat-4 > /etc/redhat-release
Please try that and let me know if it works for you.
Bye
Piero
You also have to install glibc-devel for i386, otherwise the 32 bit libraries won’t compile, resulting in various errors (for example “UnsatisfiedLinkError exception loading native library: njni10″ when running the net configuration towards the end of the installation).
Otherwise: Thanks for this great howto, it saved me a lot of time when I was in a hurry!
Hi ifo,
thanks for pointing this: I updated the tutorial adding your tip.
Bye
Piero
The way of carrying,explaining and mentioning the things is really good.
Keep adding such kind of docs to GOOGLE.
With regards
Arpit Raj Gautam
Thanks piero for a quality document
It is really working man
Hi ,
I have 10gDS on windows XP machine ,I have few client machines on WIndows who can access my Application However the clients on Linux cannot access my Application as Jinitiator is only certified for windows and for linux how to go about , if any one has done this before can give me the guidelines on Browser configuration
i am using Mozilla firefox latest ver.
Awaiting your guidlines for the same.
more details can be emailed with snapshots if you provide me with your email address.
thanks
sushil T
Soft.Dev Engg ( OCP )
i face this error when i run ./runInstaller
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-04-22_05
-16-46PM. Please wait …[oracle@boss_srv1 database]$ Exception in thread “main”
java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-04-22_05-16-46PM/jre/1.4.2/
lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or
directory
Hi,
it seems you missed the line:
yum install libXp gcc make setarch libaio glibc-devel
libXp.so.6 is provided by the package libXp.
Let me know if it works!
Bye
Piero
dear
it’s ok but i face this error when i run Oracle Universal Installer
Checking operating system requirements …
Expected result: One of redhat-3,redhat-4,SuSE-9,asianux-1,asianux-2
Actual Result: redhat-#Red Hat Enterprise Linux Server release 5 (Tikanga)
Check complete. The overall result of this check is: Failed <<<<
Problem: Oracle Database 10g is not certified on the current operating system.
Recommendation: Make sure you are installing the software on the correct platform.
=======================================================================
Checking operating system package requirements …
Check complete. The overall result of this check is: Not executed <<<<
OUI-18001: The operating system ‘Linux Version redhat-#Red Hat Enterprise Linux Server release 5 (Tikanga)’ is not supported.
Recommendation: Install the required packages before continuing with the installation.
=======================================================================
Checking kernel parameters
Check complete. The overall result of this check is: Not executed <<<<
OUI-18001: The operating system ‘Linux Version redhat-#Red Hat Enterprise Linux Server release 5 (Tikanga)’ is not supported.
Recommendation: Perform operating system specific instructions to update the kernel parameters.
=======================================================================
Checking Recommended glibc version
Check complete. The overall result of this check is: Not executed <<<<
OUI-18001: The operating system ‘Linux Version redhat-#Red Hat Enterprise Linux Server release 5 (Tikanga)’ is not supported.
Recommendation: You may actually have installed packages which have obsoleted these, in which case you can successfully continue with the install. If you have not, it is recommended that you do not continue. Refer to the readme to find out how to get the missing packages.
=======================================================================
Checking available swap space requirements …
Expected result: 3528MB
Actual Result: 3071MB
Check complete. The overall result of this check is: Failed <<<<
Problem: The system does not have the required swap space.
Recommendation: Make more swap space available to perform the install.
=======================================================================
Checking Network Configuration requirements …
Actual Result: :java.lang.NullPointerException:Exception/Error Occurred
Check complete. The overall result of this check is: Not executed <<<<
Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses. However, the primary network interface on the system should be configured with a static IP address in order for the Oracle Software to function properly. See the Installation Guide for more details on installing the software on systems configured with DHCP.
================================================================INFO: make: *** [liborasdkbase] Error 1
INFO: End output from spawned process.
INFO: ———————————-
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target ‘all_no_orcl ihsodbc’ of makefile ‘/u01/app/oracle/product/10.2.0/db_1/rdbms/lib/ins_rdbms.mk’. See ‘/u01/app/oracle/oraInventory/logs/installActions2009-04-23_11-55-48AM.log’ for details.
Exception Severity: 1
=======
and i face this error when i continue
and i face this error when i continue
INFO: /u01/app/oracle/product/10.2.0/db_1/bin/genorasdksh: Failed to link liborasdkbase.so.10.2
INFO: make: *** [liborasdkbase] Error 1
INFO: End output from spawned process.
INFO: ———————————-
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target ‘all_no_orcl ihsodbc’ of makefile ‘/u01/app/oracle/product/10.2.0/db_1/rdbms/lib/ins_rdbms.mk’. See ‘/u01/app/oracle/oraInventory/logs/installActions2009-04-23_11-55-48AM.log’ for details.
Exception Severity: 1
Hi,
please follow all the tutorial step by step: it should work if you do everything as written.
Probably now you missed these instructions:
//change /etc/redhat-release as RHEL5 is not a supported platform
# cp /etc/redhat-release /etc/redhat-release.5
# echo redhat-4 > /etc/redhat-release
Let me know if it works!
Bye
Piero
dear
finaly i started the database whith these errors and i fond there is no listener and when i restart the server the OS is crashed >>>>
can you give me your phone number …??
Hi,
i have installed oracle 11g on rhel 5. that is succesfully completed but i am entering the sqlplus / as sysdba i face the one error
i.e error while loading shared libraries: libsqlplus.so : cannot open shared object file: no such file or directory.