Install Oracle Database Instant Client
OML4R requires Oracle Database client software.
Oracle Instant Client is suitable for most configurations of OML4R.
This topic includes these sections:
Related Topics
Installing Oracle Database Instant Client on Windows
Instructions for installing Oracle Database Instant Client on Windows.
To Install Oracle Instant Client on Windows:
-
Create an installation directory for the OML4R client components. For example:
c:\oml4rclient_install_dir
-
Go to the Oracle Database Instant Client website.
-
In the Get Oracle Instant Client section, select Downloads.
-
On the Oracle Instant Client Downloads page, select Instant Client for Microsoft Windows (x64).
-
Choose Instant Client Package - Basic for your version of Oracle Database.
-
Save the file in the installation directory that you created in Step 1. For example:
c:\oml4rclient_install_dir\instantclient-basic-windows.x64-12.1.0.2.0.zip
-
Unzip the file. The files are extracted into a subdirectory called
instantclient_
version
, whereversion
is your version of Oracle Database. For example:c:\oml4rclient_install_dir\instantclient_12_1
-
Return to the Instant Client Downloads for Microsoft Windows (x64) page.
-
Accept the license agreement and select Instant Client Package - SDK for your version of Oracle Database.
-
Save the file in the installation directory that you created in Step 1.
c:\oml4rclient_install_dir\instantclient-sdk-windows.x64-12.1.0.2.0.zip
-
Unzip the file. The files are extracted into the
instantclient_
version
subdirectory. -
Add the full path of the Instant Client to the environment variables
OCI_LIB64
andPATH
. The following steps set the variables to the path used in this example,c:\myoml4rclient\instantclient_12_1
:-
In Windows Control Panel, choose System, then click Advanced system settings.
-
On the Advanced tab, click Environment Variables.
-
Under System variables, create
OCI_LIB64
if it does not already exist. Set the value ofOCI_LIB64
toc:\oml4rclient\instantclient_12_1
. -
Under System variables, edit
PATH
to includec:\oml4rclient\instantclient_12_1
.
-
Install Oracle Database Instant Client on Linux or UNIX
You can install Oracle Database Instant Client from a zip file on Linux or UNIX systems.
On Linux, you can also install from RPMs.
This topic includes these sections:
Install Oracle Instant Client from a Zip File
Instructions for installing Oracle Instant Client from a zip file.