Oracle Database client - ArchWiki

Jump to content

# Oracle Database client

From ArchWiki

This document will explain how to install the Oracle database client under Arch Linux. The client is used to connect to Oracle databases running on other machines.

## Installation

Due to the way Oracle provides downloads of their software, the files cannot be retrieved automatically. You must download the necessary .zip files manually and place them in the same directory as the PKGBUILD from AUR, before running `makepkg`. You will need an Oracle account before you can log in and download the .zip files.

### Relevant packages

The packages to be installed from the AUR are:

- oracle-instantclient-basicAUR - core Oracle client, required by all the other packages and any precompiled binaries using the native Oracle API
- oracle-instantclient-sdkAUR - C header files, required to compile software that accesses Oracle using the native API
- oracle-instantclient-sqlplusAUR - SQL*Plus command line utility
- oracle-instantclient-odbcAUR - UnixODBC connectivity
- oracle-instantclient-jdbcAUR - Java connectivity
- oracle-instantclient-toolsAUR - Data Pump, SQL*Loader and Workload Replay Client

### Installation paths

When using the packages in the AUR, the TNSNAMES file should be saved as `/etc/tnsnames.ora`. `ORACLE_HOME` should be set automatically to `/usr` in any new shells opened after the install, courtesy of `/etc/profile.d/oracle.sh`.

## gqlplus

After installing sqlplus, you might also want to install gqlplusAUR, a frontend to sqlplus that adds command history and tab completion.

Categories:

- Database management systems
- Oracle

Oracle Database client
Add topic