redhat How to install Oracle Client 10g on Red Hat Enterprise Linux 5Today I needed to install the Oracle Client 10g on a Red Hat Enterprise Linux 5 32bit: 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 from Oracle website: once there get the file called 10201_client_linux32.zip. Unzip and run the client:

# unzip 10201_client_linux32.zip
# 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.

button1 addthis How to install Oracle Client 10g on Red Hat Enterprise Linux 5     AddThis Feed Button

6 Responses to “How to install Oracle Client 10g on Red Hat Enterprise Linux 5”

  1. Sushil Trivedi says:

    Can i access 10g Developer Suite APPS Server in firefox Mozilla running on winxp once installed 10g Client on Linux

  2. Flog says:

    Hello apiero !!!
    Thank’s for this tutorial. I try this and it’s work. I just can say perfect.

  3. John says:

    Thanks for posting this, first off…

    As for the RHEL 5 not being supported, another way to get around it is to do the following:

    Modify client/install/oraparam.ini file and add “redhat-5″ to “Certified Versions” section.
    Example:

    [Certified Versions]
    Linux=redhat-3,SuSE-9,redhat-4,UnitedLinux-1.0,asianux-1,asianux-2,redhat-5

    Thanks again!

  4. Sam says:

    Awesome….worked for me (in between i got error, but in a different window i logged in as root and ran the 2 scripts and everything was great) I am not dumb anymore.

  5. Krish says:

    Very simple & clear cut instructions.. worked like a charm :)

  6. Siva says:

    Thanks a lot. Actually i tried it for 64 bit. It works.
    Also include how to set xhost for oracle user. It would be helpful for newbies.

Leave a Reply