Oracle Clients: Difference between revisions
From Lolly's Wiki
Jump to navigationJump to search
(Die Seite wurde neu angelegt: „= Ubuntu = Download <pre> oracle-instantclient12.2-basiclite-12.2.0.1.0-1.x86_64.rpm oracle-instantclient12.2-sqlplus_12.2.0.1.0-2_amd64.deb </pre> from [http:…“) |
(→Ubuntu) |
||
Line 3: | Line 3: | ||
<pre> | <pre> | ||
oracle-instantclient12.2-basiclite-12.2.0.1.0-1.x86_64.rpm | oracle-instantclient12.2-basiclite-12.2.0.1.0-1.x86_64.rpm | ||
oracle-instantclient12.2- | oracle-instantclient12.2-sqlplus-12.2.0.1.0-1.x86_64.rpm | ||
</pre> | </pre> | ||
from [http://www.oracle.com/technetwork/database/features/instant-client/index.html Oracle Instant Client download page] | from [http://www.oracle.com/technetwork/database/features/instant-client/index.html Oracle Instant Client download page] | ||
Line 10: | Line 10: | ||
$ sudo apt install alien | $ sudo apt install alien | ||
$ sudo alien -i oracle-instantclient12.2-basiclite-12.2.0.1.0-1.x86_64.rpm | $ sudo alien -i oracle-instantclient12.2-basiclite-12.2.0.1.0-1.x86_64.rpm | ||
$ sudo alien -i oracle-instantclient12.2- | $ sudo alien -i oracle-instantclient12.2-sqlplus-12.2.0.1.0-1.x86_64.rpm | ||
$ for i in | $ for i in $(dpkg -L $(dpkg -l oracle-instantclient\* | awk '$1=="ii"{print $2;}') | grep .so ) | ||
do | do | ||
BASENAME=${i##*/} | BASENAME=${i##*/} |
Revision as of 09:42, 9 May 2017
Ubuntu
Download
oracle-instantclient12.2-basiclite-12.2.0.1.0-1.x86_64.rpm oracle-instantclient12.2-sqlplus-12.2.0.1.0-1.x86_64.rpm
from Oracle Instant Client download page
$ sudo apt install alien
$ sudo alien -i oracle-instantclient12.2-basiclite-12.2.0.1.0-1.x86_64.rpm
$ sudo alien -i oracle-instantclient12.2-sqlplus-12.2.0.1.0-1.x86_64.rpm
$ for i in $(dpkg -L $(dpkg -l oracle-instantclient\* | awk '$1=="ii"{print $2;}') | grep .so )
do
BASENAME=${i##*/}
sudo update-alternatives --install /usr/lib/${BASENAME} ${BASENAME} ${i} 10
done