Install Oracle Instant Client on Ubuntu

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 .

sudo wget unzip instantclient_21_4

3. Install linux asynchronous I/O library called .

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


  • 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.
  • is used for asynchronous I/O operation without waiting for threads to be finished.
  • folder is where system configuration exists.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Cing Sian Dal

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