Oracle Clients: Difference between revisions
From Lolly's Wiki
Jump to navigationJump to search
(→Ubuntu) |
(→Ubuntu) |
||
Line 8: | Line 8: | ||
<source lang=bash> | <source lang=bash> | ||
$ sudo apt install alien | $ sudo apt install alien libaio1 | ||
$ 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-sqlplus-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 |
Revision as of 13:19, 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 libaio1
$ 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