Installing cx_Oracle on Ubuntu Karmic Koala, 64 bit

2010-01-29 02:48:03 GMT

I'm using Oracle 10g, but you're free to download any other versions that you want.

# We should use alien but it didn't work for me.
rpm2cpio cx_Oracle-5.0.2-10g-py26-1.x86_64.rpm | cpio -id
sudo cp usr/lib64/python2.6/site-packages/ /usr/lib/python2.6
# Go to the Oracle Instant Client download page and accept their fucking license, then download Instant Client Package - Basic for version, that is
sudo cp instantclient_10_2/{,} /usr/local/lib
sudo ldconfig

Installing such proprietary shit like Oracle (related software) is a bad experience too many times.