Skip to content

Instantly share code, notes, and snippets.

@alexander-heimbuch
Last active January 7, 2016 10:04
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 alexander-heimbuch/f2032f8c81b37762c67b to your computer and use it in GitHub Desktop.
Save alexander-heimbuch/f2032f8c81b37762c67b to your computer and use it in GitHub Desktop.
#!/bin/sh
unzip -qq instantclient-sqlplus-macos.x64-11.2.0.4.0.zip
unzip -qq instantclient-basic-macos.x64-11.2.0.4.0.zip
cd instantclient_11_2
mkdir -p /Applications/oracle/product/instantclient_64/11.2.0.4.0/bin
mkdir -p /Applications/oracle/product/instantclient_64/11.2.0.4.0/lib
mkdir -p /Applications/oracle/product/instantclient_64/11.2.0.4.0/jdbc/lib
mkdir -p /Applications/oracle/product/instantclient_64/11.2.0.4.0/rdbms/jlib
mkdir -p /Applications/oracle/product/instantclient_64/11.2.0.4.0/sqlplus/admin
mv ojdbc* /Applications/oracle/product/instantclient_64/11.2.0.4.0/jdbc/lib/
mv x*.jar /Applications/oracle/product/instantclient_64/11.2.0.4.0/rdbms/jlib/
mv glogin.sql /Applications/oracle/product/instantclient_64/11.2.0.4.0/sqlplus/admin/
mv *dylib* /Applications/oracle/product/instantclient_64/11.2.0.4.0/lib/
mv *README /Applications/oracle/product/instantclient_64/11.2.0.4.0/
mv * /Applications/oracle/product/instantclient_64/11.2.0.4.0/bin/
# Run: curl https://gist.githubusercontent.com/alexander-heimbuch/f2032f8c81b37762c67b/raw/e83f7f0ecb6d54d3c6fa32e36caba6f87d8c8d42/oracle-client.sh | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment