0x6f INSTALL CX_ORACLE ON CENTOS 7
- Download and install oracle client from Oracle
yum install libaio
rpm -Uvh oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm
rpm -Uvh oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm
rpm -Uvh oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.x86_64.rpm
- Add Oracle client to library path
echo "/usr/lib/oracle/12.1/client64/lib" >/etc/ld.so.conf.d/oracle.conf
ldconfig
- install epel repo via yum extra
yum install epel-release
- Install additional
yum install gcc python-pip.noarch python-devel
- Install cx_Oracle via pip
pip install cx_Oracle
linux
oracle
python
centos