Install Oracle Instant Client on Ubuntu

Cing Sian Dal
Nov 12, 2021


Here are instruction steps to install Oracle instant Client on Ubuntu

  1. Create a folder dedicated to Oracle.
cd /opt/
sudo mkdir /opt/oracle

2. Download and unzip Oracle Instant Client at opt/oracle .

sudo wget unzip instantclient_21_4

3. Install linux asynchronous I/O library called libaio .

sudo apt update
sudo apt install libaio1

4. Add and link system configuration for instant client path.

sudo sh -c "echo /opt/oracle/instantclient_21_4 > /etc/"
sudo ldconfig


  • /opt folder is reserved for the installation of add-on application software packages.
  • Oracle Instant Client is an interface driver for Oracle Database to connect between Code and Database System.
  • libaio is used for asynchronous I/O operation without waiting for threads to be finished.
  • /etc folder is where system configuration exists.



Cing Sian Dal

Don’t follow me. I wrote junks here. Follow me on Twitter instead.