Skip to content

Instantly share code, notes, and snippets.

@SPodjasek
Last active December 31, 2015 00:39
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 SPodjasek/7908545 to your computer and use it in GitHub Desktop.
Save SPodjasek/7908545 to your computer and use it in GitHub Desktop.
Install Oracle Instant Client and DBD::Oracle for Perl on Ubuntu 13.10

Install Oracle Instant Client 12.1 and DBD::Oracle on Ubuntu 13.10

  1. Prepare build environment $ sudo apt-get install alien build-essentials
  2. Download basic,devel and sqlplus RPM packages from Oracle website
  1. Convert to Debian packages using alien $ sudo alien oracle-instantclient12.1-*

  2. Install newly created packages $ sudo dpkg -i oracle-instantclient12.1-*deb

  3. Setup build environment for DBD::Oracle and build it

    $ export ORACLE_HOME=/usr/lib/oracle/12.1/client64 $ export PATH=$ORACLE_HOME/bin $ export LD_LIBRARY_PATH=$ORACLE_HOME/lib $ cpanm DBD::Oracle

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