Create a gist now

Instantly share code, notes, and snippets.

Embed
How to install oracle client to Ubuntu 12.04

Install SQL*Plus

  1. Download .rpm package here
    • oracle-instantclinet*-basic-*.rpm
    • oracle-instantclinet*-devel-*.rpm
    • oracle-instantclinet*-sqlplus-*.rpm
  2. Install alien (sudo apt-get install alien)
  3. Convert the rpm files and install
    • sudo alien -i oracle-instantclinet*-basic-*.rpm
    • sudo alien -i oracle-instantclinet*-devel-*.rpm
    • sudo alien -i oracle-instantclinet*-sqlplus-*.rpm
  4. Install libaio1
  5. Add oracle.conf (echo /usr/lib/oracle/12.1/client/lib > /etc/ld.so.conf.d/oracle.conf) and Reload .conf (sudo ldconfig)
      • If libsqlplus.so: cannot open shared object file: No such file or directory is displayed when execute sqlplus
@Prithvirajbilla

This comment has been minimized.

Show comment
Hide comment
@Prithvirajbilla

Prithvirajbilla Jun 9, 2014

client is spelled wrong in the text

client is spelled wrong in the text

@m3nu

This comment has been minimized.

Show comment
Hide comment
@m3nu

m3nu Mar 30, 2016

Worked great. Lifesaver. System: Debian 8

m3nu commented Mar 30, 2016

Worked great. Lifesaver. System: Debian 8

@epidemicz

This comment has been minimized.

Show comment
Hide comment
@epidemicz

epidemicz May 17, 2016

Brilliant, this is always a pain. Thanks 👍

Brilliant, this is always a pain. Thanks 👍

@Hayllander

This comment has been minimized.

Show comment
Hide comment
@Hayllander

Hayllander Jun 3, 2016

He missed later add the line.
export LD_LIBRARY_PATH=/usr/lib/oracle/12.1/client64/lib

He missed later add the line.
export LD_LIBRARY_PATH=/usr/lib/oracle/12.1/client64/lib

@simonmilz

This comment has been minimized.

Show comment
Hide comment
@simonmilz

simonmilz Sep 8, 2017

Lifesaver for me 👍

Lifesaver for me 👍

@raghav18gupta

This comment has been minimized.

Show comment
Hide comment

can't find oracle-instantclinet*-devel-*.rpm here http://www.oracle.com/technetwork/topics/linux-power-le-2835260.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment