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. Packages are available for Oracle Linux on x86_64 and aarch64 (Oracle Instant Client 19.x only at the moment).

Installing Instant Client 21c or newer

As of release 21, Instant Client packages no longer include the release number as part of the RPM name. Yum/dnf configuration files are delivered via the packages oracle-instantclient-release-el8 and oracle-instantclient-release-el7, respectively. Once configured with one of these packages, yum or dnf will always install or update to the latest available Instant Client by simply referencing, oracle-instantclient-basic, for example. For descriptions of the available Instant Client packages, see the Oracle Instant Client documentation. For instructions on how to avoid inadvertent upgrades of Oracle Instant Client when a new major release is published, read Installing Oracle Instant Client Using RPMs in the 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 19 or older on x86_64 and aarch64 (Arm)

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

To install Oracle Instant Client Basic 19.10:

On Oracle Linux 8 (x86_64 and aarch64)

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

On Oracle Linux 7 (x86_64 and aarch64)

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

Additional Configuration for Instant Client releases 18 and older

For Oracle Instant Client releases 18 and older, 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/"
$ sudo ldconfig