Programmers' Pain

Howto install cx-oracle on CentOS 5.x

Python Logo (

Some Python scripts that I've written have to communicate with an Oracle Database. To be able to do so you have to install a Python module that implements the needed Oracle bindings against the Python Database API. Usually those modules aren't part of recent Linux distributions due to license restrictions. Since I haven't really found some easy and straight forward howto or tutorial how to install the cx-oracle Python extension module on CentOS 5.x I decided to write my own little tutorial.