install oci8 in ubuntu
Development (Ubuntu) Download ( https://www.oracle.com/technetwork/database/database-technologies/instant-client/overview/index.html )[Oracle Instant Client] and ( https://www.oracle.com/technetwork/database/database-technologies/instant-client/overview/index.html )[Oracle Instant Client SDK Package] to your ~/Downloads directory, then install them: mkdir -p ~/apps/oracle mv ~/Downloads/instantclient-* ~/apps/oracle cd ~/apps/oracle unzip instantclient-basic-linux.x64-18.3.0.0.0dbru.zip unzip instantclient-sdk-linux.x64-18.3.0.0.0dbru.zip Create the config file oci8.pc vim ~/apps/oracle/oci8.pc with the content as file conf/oci8.pc (change /opt/oracle/instantclient_18_3 to /home/<your_username>/apps/oracle/instantclient_18_3 ) Add to the end of your .profile or .bashrc export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/<your_username>/apps/oracle/instantclient_18_3 export PKG_CONFIG_PATH=$PKG_CONFIG...