How to install Oracle Instant Client Version 12.1.0.2 (64-bit) on a Mac (OS X 10.11.5)
I have downloaded version 12.1.0.2 (64-bit) version and unzipped the file.
HomeBrew saved me. I do not figure out the environment path.
1. Download the two files below from http://www.oracle.com/technetwork/topics/intel-macsoft-096467.html.
This is necessary because of Oracle licenses.
instantclient-basic-macos.x64–11.2.0.4.0.zip
and
instantclient-sqlplus-macos.x64–11.2.0.4.0.zip
Put the files in ~/Library/Caches/Homebrew
PS:
in the latest versions of HomeBrew replace the above location
~/Library/Caches/HomeBrew
with~/Library/Caches/HomeBrew/downloads
.And also rename the downloaded files with the names suggested by HomeBrew.
Thanks to @manuka_m
2. Next run the following commands
$ brew tap InstantClientTap/instantclient
$ brew install instantclient-basic
$ brew install instantclient-sqlplus
Originated from Joost van Wollingen's doc