Skip to content

Instantly share code, notes, and snippets.

@tOlorun
Forked from tcnksm/install_sqlplus.md
Created September 9, 2019 09:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tOlorun/ad753c1138edc820512efd8e0b81219f to your computer and use it in GitHub Desktop.
Save tOlorun/ad753c1138edc820512efd8e0b81219f to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment