10

Installing the Oracle Instant Client on Ubuntu/Debian based systems is awkward since Oracle is RPM centric regarding its Linux support.

What's the best way to easily install and configure the Instant Client on Ubuntu?

2
  • Note - I had to download the rpm: oracle-instantclient11.2-devel-11.2.0.3.0-1.x86_64.rpm by hand to get this to work. Thanks!
    – user44120
    Jul 21 '14 at 22:02
  • @EdMurray Thanks for that note Ed. I've made updates to the script and to address that issue.
    – eikonomega
    Jul 28 '14 at 14:40
6

Updated Per Feedback
I never really found a good answer to this that didn't involve a lot of manual steps, so I made a solution.

You can download a script from my oracle_instant_client_for_ubuntu GitHub repo which will convert Oracle rpms into Ubuntu compatible packages and then install them for you.

It now supports multiple versions of the instant client. Feel free to log issues via GitHub.

Currently, this project only supports 64-bit systems.

5
  • 1
    @Eikonomega-->This worked perfectly!!! Your oracle_client!I installed the oracle_instant_client_for_ubuntu and tested out on my Ubuntu 12.10 desktop and worked perfectly! I used the oracle instant client to connect to the Oracle Database 11.2.3 from the tool-->Oracle SQL Developer (3.2). Worked Perfectly!! Thank you very much!!!
    – user21314
    Mar 14 '13 at 23:23
  • @sven I'm glad to here that it worked for you. Did you happen to try and connect to the database from SQL Developer prior to using the tool?
    – eikonomega
    Mar 15 '13 at 19:27
  • eikonomega's repo is broken and he isn't accepting pull requests to fix it. Use this fork instead: github.com/yokotoka/oracle_instant_client_for_ubuntu_64bit Jul 24 '14 at 19:53
  • @BinaryPhile As a really strange coincidence, I'm just happening to update the repo now. I've incorporated existed pull requests and will be adding on some new functionality tonight.
    – eikonomega
    Jul 25 '14 at 0:03
  • 2
    The repo readme now states that this solution no longer works
    – krock
    Jul 22 '19 at 6:33
0

It took me about two hours to install this instant client. Then I figured out that there is a great graphical client available for Oracle DB, which would suit my needs better then oracle instant client. In case you are interested, here is info on how to install it on Ubuntu:

https://askubuntu.com/questions/458554/how-to-install-sql-developer-on-ubuntu-14-04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.