Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jun-fajr/563d19c10f400115943878bddc104aa2 to your computer and use it in GitHub Desktop.
Save jun-fajr/563d19c10f400115943878bddc104aa2 to your computer and use it in GitHub Desktop.
Install Oracle client on Ubuntu 18.04

Reference: https://help.ubuntu.com/community/Oracle%20Instant%20Client

  1. Decide which version of the Oracle client to install

  2. Download the Oracle client packages

  3. Install prerequisites

    sudo apt install alien libaio1
    
  4. Install the Oracle client package(s)

    sudo alien -i oracle-instantclient12.1-basiclite-12.1.0.2.0-1.x86_64.rpm
    
  5. Update the system library path to include the oracle libraries

    sudo sh -c 'echo /usr/lib/oracle/12.1/client64/lib/ > /etc/ld.so.conf.d/oracle.conf'
    sudo ldconfig
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment