Learn how to install Oracle Instant Client on Oracle Linux.
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).
For Instant Client releases 23ai, yum configuration files are delivered via the packages oracle-instantclient-release-23ai-el9 and oracle-instantclient-release-23ai-el8
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:
sudo dnf install oracle-instantclient-release-23ai-el9
sudo dnf install oracle-instantclient-basic
sudo dnf install oracle-instantclient-release-23ai-el8
sudo dnf install oracle-instantclient-basic
Yum/dnf configuration files are delivered via the packages oracle-instantclient-release-el8 and oracle-instantclient-release-el7
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:
sudo dnf install oracle-instantclient-release-el8
sudo dnf install oracle-instantclient-basic
sudo yum install oracle-instantclient-release-el7
sudo yum install oracle-instantclient-basic
For Instant Client releases 19c, yum configuration files are delivered via the packages oracle-instantclient-release-el9, oracle-release-el8 and oracle-release-el7
For descriptions of the available Instant Client packages, see the Oracle Instant Client documentation.
To install Oracle Instant Client Basic:
sudo dnf install oracle-instantclient-release-el9
sudo dnf install oracle-instantclient19.19-basic
sudo dnf install oracle-release-el8
sudo dnf install oracle-instantclient19.25-basic
sudo yum install oracle-release-el7
sudo yum install oracle-instantclient19.25-basic