Skip to main content

Install SQL*Plus 12.2 on a Mac

Published: 2019-06-07 • Lastmod: 2019-10-11

Also see: Install SQL*Plus on Linux.

SQL*Plus Version #

  1. Navigate to Oracle downloads, accept the license agreement, and login. If you don’t already have an Oracle account, you’ll need to create one

  2. Download these zip files:

  3. Make dir for instant client then unzip zips

     mkdir -p ~/bin/oracle
     unzip -d ~/bin/oracle
     unzip -d ~/bin/oracle
  4. The file listing of that dir should now look like:

     $ cd  ~/bin/oracle/instantclient_12_2 && find . -type f | sort
  5. Add this line to your bash config file, e.g. ~/.bash_profile, to add sqlplus to your PATH

     export LD_LIBRARY_PATH=$HOME/bin/oracle/instantclient_12_2:$LD_LIBRARY_PATH
  6. Source your ~/.bash_profile

     source ~/.bash_profile
  7. Run sqlplus -V to confirm it’s installed