A while back I broke down to the peer pressure in the APEX community (you know who you are ;-) and bought a Mac Book Air. I’m still learning the ropes and one thing that took some time to get working was the Oracle Instant Client. Installing it isn’t as straightforward as installing the Instant Client on Windows.
I finally got it working and thought I’d post what I did for others that are new to OS X.
Download Instant Client
First you’ll nee to download the Instant Client for OS X. I downloaded the following files for Version 220.127.116.11.0 (64-bit):
Unzip both files and put their contents in
You’ll need to set the appropriate paths to load by default in Terminal. Open Terminal and run:
Now when you open a new terminal window you should be able to run SQL*Plus
When using SQL*Plus in Windows you can use the Up arrow to get your previous command. If you do that in Linux you’ll get some weird character. The good news is that there’s a program to resolve it called
rlwrap. CJ Travis has a good post on how to install rlwrap of Mac OS X.