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.


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 required from the AUR are:

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/


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