- Get Oracle instant client for MacOSX
- Go to the download site - http://www.oracle.com/technetwork/topics/intel-macsoft-096467.html
- Download "instantclient-basic-macos.x64-12.1.0.2.0.zip"
- Download "instantclient-sqlplus-macos.x64-12.1.0.2.0.zip"
- Download "instantclient-sdk-macos.x64-12.1.0.2.0.zip"
- Unarchive downloaded zip files into a same directory
- ex:
$HOME/Downloads/instantclient_12_1
- Create
install.sh
and copy the following code and past it on that file. - Run
source /usr/local/share/instantclient/instantclient.sh
- Run
sqlplus
to check if you can run "sqlplus" in any place - Add
source /usr/local/share/instantclient/instantclient.sh
to your .bashrc
I don't have any file named 'instantclient.sh' and where to paste the 'install.sh' file?