3 Installing and Removing Oracle Database Client

The Oracle Database Client software is available on Oracle Technology Network website. This chapter describes the following sections:

3.1 Downloading and Installing the Oracle Database Client Software

The following steps describe how to install the Oracle software:

  1. Download the Instant Client for Linux on POWER Systems (32-bit and 64-bit) package from the Instant Client Downloads page on Oracle Technology Network at

    http://www.oracle.com/technetwork/index.html

  2. Create a directory on your computer, for example, instantclient. Choose a directory to install the Oracle Instant Client and unzip the downloaded zip file in that directory. The unzipped file creates the instantclient_11_2 directory.

  3. Set the LD_LIBRARY_PATH and the NLS_LANG environment variables to the full path of the instantclient_11_2 directory. For example, if you unzipped the Instant Client zip file in the /bin/oracle directory, then set the LD_LIBRARY_PATH environment variable to /bin/oracle/instantclient_11_2.

    See the "Instant Client Light Requirements" section for information about setting the NLS_LANG environment variable to the required character set.

    This completes the installation of Oracle Database Client. To connect to the Oracle Database server, run the client from the Oracle Database Instant Client environment.

  4. The Object Type Translator Utility (OTT) utility may have to be modified to reflect the correct environment variable LD_LIBRARY_PATH as ORACLE_HOME may not be available.

Note:

If you want to use VAC compiler, they you need to set the following values in the environment:

COMPILER=VAC

VAC_VERSION=12.1 (if it is 12.1 or any other VAC version that is in use)

In addition to the above:

  • Ensure that xlC is in the PATH of your environment.

  • Also, set COMPILER_MODE = 32/64 depending on whether you want to build 32/64-bit demo executable or otherwise, respectively.

3.2 Removing the Oracle Database Client Software

To remove the Oracle Database Client software, delete the instantclient_11_2 directory.