Oracle support in Kali?

Since Oracle is proprietary, it can’t be shipped with Kali

Get an account at oracle, no verification email is sendt, so you can use a temp email 🙂

Get three files from Oracle Instant Client


Don’t try wget cause you need accept EULA, and sign in.

Create directory /opt/oracle and extract your files there.

#Symlink the library.

root@kali:/opt/oracle/instantclient_12_1# ln

#update /root/.bashrc with

export PATH=$PATH:/opt/oracle/instantclient_12_1
export SQLPATH=/opt/oracle/instantclient_12_1
export TNS_ADMIN=/opt/oracle/instantclient_12_1
export LD_LIBRARY_PATH=/opt/oracle/instantclient_12_1
export ORACLE_HOME=/opt/oracle/instantclient_12_1

#Rerun bash to get correct variables, and install gem

root@kali:~# cd /tmp && wget
root@kali:/tmp# unzip
root@kali:/tmp~# cd ruby-oci8-ruby-oci8-2.1.8 
root@kali:/tmp/ruby-oci8-ruby-oci8-2.1.8#  export PATH=/opt/metasploit/ruby/bin:$PATH
root@kali:/tmp/ruby-oci8-ruby-oci8-2.1.8#  make && make install

Done deal! 🙂

Leave a Comments