{"id":317,"date":"2012-01-11T17:51:02","date_gmt":"2012-01-11T21:51:02","guid":{"rendered":"http:\/\/dashdrum.com\/blog\/?p=317"},"modified":"2012-01-29T11:14:01","modified_gmt":"2012-01-29T15:14:01","slug":"installing-oracle-client-on-ubuntu-11-10","status":"publish","type":"post","link":"https:\/\/dashdrum.com\/blog\/2012\/01\/installing-oracle-client-on-ubuntu-11-10\/","title":{"rendered":"Installing Oracle Client on Ubuntu 11.10"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" title=\"Oracle Logo\" src=\"http:\/\/www.techshout.com\/images\/oracle-logo.gif\" alt=\"Oracle Logo\" width=\"150\" height=\"150\" align=\"right\" hspace=\"11\" vspace=\"11\" \/>(Another post written for personal documentation)<\/p>\n<h2>Get Software<\/h2>\n<p>Download these three packages from Oracle for the proper operating system (32 bit for me):<\/p>\n<ul>\n<li>Instant Client Basic-Lite<\/li>\n<li>Instant Client SDK<\/li>\n<li>Instand Client SQLPlus<\/li>\n<\/ul>\n<p>Unzip and copy to \/opt\/oracle\/11_2\/instantclient<\/p>\n<h2>Set LD_LIBRARY_PATH<\/h2>\n<p>Create \/etc\/ld.so.conf.d\/oracle_instantclient.conf:<\/p>\n<pre>#Oracle client LD_LIBRARY_PATH setting\r\n\/opt\/oracle\/11_2\/instantclient<\/pre>\n<p>Update cache:<\/p>\n<pre>sudo ldconfig -v<\/pre>\n<h2>Symbolic Link to Library<\/h2>\n<pre>ln -s libclntsh.so.10.1 libclntsh.so<\/pre>\n<h2>Set ORACLE_HOME<\/h2>\n<pre>export ORACLE_HOME=\/opt\/oracle\/11_2\/instantclient<\/pre>\n<h2>Install Python Library<\/h2>\n<p>The library is called cx-oracle. Use your favorite installation method. (Don&#8217;t forget about your virtual environment!)<\/p>\n<h2>That&#8217;s It<\/h2>\n<p>Hope I remembered everything.<\/p>\n<h2>UPDATE<\/h2>\n<p>Found another post that outlines the procedure maybe a little better than I did, and includes notes on setting up <code>tnsnames.ora<\/code>. See <a href=\"http:\/\/chilipuppy.blogspot.com\/2008\/10\/purpose-im-working-on-building-python.html\">Install Oracle Instant Client 11.1 and cx_Oracle 4.4 on Ubuntu 8.04 on Technoblog<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>(Another post written for personal documentation) Get Software Download these three packages from Oracle for the proper operating system (32 bit for me): Instant Client Basic-Lite Instant Client SDK Instand Client SQLPlus Unzip and copy to \/opt\/oracle\/11_2\/instantclient Set LD_LIBRARY_PATH Create \/etc\/ld.so.conf.d\/oracle_instantclient.conf: #Oracle client LD_LIBRARY_PATH setting \/opt\/oracle\/11_2\/instantclient Update cache: sudo ldconfig -v Symbolic Link to Library &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/dashdrum.com\/blog\/2012\/01\/installing-oracle-client-on-ubuntu-11-10\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Installing Oracle Client on Ubuntu 11.10&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-317","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/posts\/317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/comments?post=317"}],"version-history":[{"count":8,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/posts\/317\/revisions"}],"predecessor-version":[{"id":338,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/posts\/317\/revisions\/338"}],"wp:attachment":[{"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/media?parent=317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/categories?post=317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/tags?post=317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}