After many years, I took a fresh look at Ubuntu, and I found it to be great! So naturally, I wanted to install Oracle XE database to play around with. But this comes as a 32-bit rpm. What to do?
Fortunately, I found a great post over at littlebrain.org that describes the process and pitfalls in some details. I wont repeat the whole post here, just the key steps, but I strongly encourage you to head on over and take a look at Aldiantoro’s post!
sudo apt-get install libc6-i386 wget -c http://oss.oracle.com/debian/dists/unstable/main/binary-i386/libaio_0.3.104-1_i386.deb http://oss.oracle.com/debian/dists/unstable/non-free/binary-i386/oracle-xe-universal_10.2.0.1-1.1_i386.deb sudo dpkg -i --force-architecture libaio_0.3.104-1_i386.deb sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb sudo /etc/init.d/oracle-xe configure
Then edit your ~/.bashrc
ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server PATH=$PATH:$ORACLE_HOME/bin export ORACLE_HOME export ORACLE_SID=XE export PATH