-
Download Oracle InstantClient basic, sqlplus, and SDK packages
instantclient-basic-macos.x32-11.2.0.4.0.zip instantclient-sqlplus-macos.x32-11.2.0.4.0.zip instantclient-sdk-macos.x32-11.2.0.4.0.zip -
Extract files and rename directory, if desired
/instantclient | +-- BASIC_README +-- SQLPLUS_README +-- [...] | +-- /sdk | | | +-- SDK_README | [...] -
Move directory somewhere
mv instantclient /usr/local/instantclient -
Symlink dylib file
cd /usr/local/instantclient ln -s libclntsh.dylib.11.1 libclntsh.dylib -
Add InstantClient to $PATH, e.g. create a symlink in the user's
/binto the new location of/instantclientln -s /usr/local/bin/instantclient instantclient -
Configure for your application by adding a
tnsnames.orafile and confirming the path to that file is available in an environment variable calledTNS_ADMIN
tip: watch for quarantine problems with the files if you downloaded them to /Downloads
sudo xattr -r -d com.apple.quarantine instantclient