Install Oracle client on Ubuntu Desktop 12 (32 bits)

As you know Oracle does not support Ubuntu. I was not able to find a link where it provides a step by step Oracle client installation. Therefore, I am going to provide them.

Step 1:
Open a Terminal and run the following:

sudo apt-get install alien


Step 2:

Go to and download the following:

Step 3:

Go back to the terminal and move to the directory where you downloaded the files and execute the following:

sudo alien -i oracle-instantclient11.2-basic-
sudo alien -i oracle-instantclient11.2-sqlplus-
sudo alien -i oracle-instantclient11.2-devel-
sudo apt-get install libaio1
sudo vi /etc/ and add /usr/lib/oracle/11.2/client/lib/
sudo ldconfig

Step 4

At this point sqlplus should be running from the terminal with no issues.


Add the following to .bashrc:

export ORACLE_HOME=/usr/lib/oracle/11.2/client


Step 5:

Execute the following:

source .bashrc


sudo mkdir network

cd network/

sudo mkdir admin

cd admin

Step 6:

Put your tnsnames.ora file in /usr/lib/oracle/11.2/client/network/admin/



3 thoughts on “Install Oracle client on Ubuntu Desktop 12 (32 bits)

    • The instructions are used to install Oracle Client. I assume that you already have oracle installed, As far as the tnsnames.ora file. This file is usually created by a DBA.

      Les instructions utilisées est pour l’installation du client Oracle. Je ne couvre pas l’installation de la base de données. Le client Oracle permet l’accès a la base de données..

Leave a Reply

Your email address will not be published. Required fields are marked *