Instant Client for Oracle Linux

  • Home > 
  • Instant Client for Oracle Linux

Instant Client for Oracle Linux

Learn how to install Oracle Instant Client on Oracle Linux.

About Oracle Instant Client

Oracle Instant Client enables applications to connect to a local or remote Oracle Database for development and production deployment. The Instant Client libraries provide the necessary network connectivity, as well as basic and high end data features, to make full use of Oracle Database. It underlies the Oracle APIs of popular languages and environments including Node.js, Python and PHP, as well as providing access for OCI, OCCI, JDBC, ODBC and Pro*C applications. Tools included in Instant Client, such as SQL*Plus and Oracle Data Pump, provide quick and convenient data access.

Installing Instant Client 21c or newer

As of Instant Client release 21, yum configuration files are delivered via the packages oracle-instantclient-release-el8 and oracle-instantclient-release-el7, respectively. For descriptions of the available Instant Client packages, see the Oracle Instant Client documentation.

To install the Instant Client Basic package:

On Oracle Linux 8

sudo dnf install oracle-instantclient-release-el8
sudo dnf install oracle-instantclient-basic

On Oracle Linux 7

sudo yum install oracle-instantclient-release-el7
sudo yum install oracle-instantclient-basic

Installing Instant Client release 19c or older

For Instant Client releases 19c and older, yum configuration files are delivered via the packagesoracle-release-el8, oracle-release-el7, and oracle-release-el6, respectively.

To install Oracle Instant Client Basic 19.9:

On Oracle Linux 8

sudo dnf install oracle-release-el8
sudo dnf install oracle-instantclient19.9-basic

On Oracle Linux 7

sudo yum install oracle-release-el7
sudo yum install oracle-instantclient19.9-basic

Additional Configuration for Instant Client releases before 19c

For Oracle Instant Client releases before 19c, you must set up the environment so that your application can find the necessary libraries. For example, for Oracle Instant Client release 18.3:

$ sudo sh -c "echo /usr/lib/oracle/18.3/client64/lib > /etc/l oracle-instantclient.conf"
$ sudo ldconfig