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 opt/oracle .

sudo wget https://download.oracle.com/otn_software/linux/instantclient/214000/instantclient-basic-linux.x64-21.4.0.0.0dbru.zipsudo 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/ld.so.conf.d/oracle-instantclient.conf"
sudo ldconfig

Glossary:

  • /opt folder is reserved for the installation of add-on application software packages.