I tried installing sqlplus by following the instruction from here. I'm still getting :
sqlplus: command not found
when I do
sqlplus from my terminal.
I'm an novice in Ubuntu and I use Ubuntu 12.04.
First of all you need to download Instant Client Downloads. Install alien software so you can install rpm packages by typing following command in terminal.
Once that is done, go to the folder where the rpm files are located and execute the following:
You need to install
Create Oracle configuration file:
Put this line in that file:
Note - for 64-bit installations, the path will be:
Update the configuration by running following command:
Try to connect using:
Note that if you installed the 64-bit version, the client is called
I think this link would help. It is pretty descriptive. Make sure you follow all the steps. Still if you have any problems, don't hesitate to comment.
Of course the correct installation is from official packages like above (download Instant Client Downloads), but you can get a full working sqlplus just by copying these files (you can found it in any computer with oracle client installed), and some msb are optitional:
As aditional dependency, I did include
So, a sample use can be: