Install Oracle Instant Client on Ubuntu
Nov 12, 2021
Here are instruction steps to install Oracle instant Client on Ubuntu
- 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.- 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.