Installing Oracle XE database on 64-bit Ubuntu

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 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
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

export PATH

About Mark Nelson

Mark Nelson is an Architect in the Enterprise Cloud-Native Java Team at Oracle. Mark works mainly on making Java (traditional and microservices) easy to use in Kubernetes and the CNCF ecosystem. Before joining this team, Mark worked on Wercker, WebLogic and was a senior member of the A-Team since 2010, and worked in Sales Consulting at Oracle since 2006 and various roles at IBM since 1994.
This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

3 Responses to Installing Oracle XE database on 64-bit Ubuntu

  1. Pingback: Installing WebLogic Server 10.3.3 on Ubuntu (64-bit) | RedStack

  2. Maybe this is useful for somebody:
    Had some problems in this step:
    sudo dpkg -i –force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb

    Errors were encountered while processing:

    To solve them I had to edit control inside the .deb package:

    dpkg -e oracle-xe-universal_10.2.0.1-1.1_i386.deb
    cd DEBIAN/
    vi control
    (Here remove libc6, the line should eventually read:
    Depends: libaio (>= 0.3.96) | libaio1 (>= 0.3.96)
    tar -czvf control.tar.gz *
    mv control.tar.gz ..
    cd ..
    ar r oracle-xe-universal_10.2.0.1-1.1_i386.deb control.tar.gz

    After that I could finally install oracle xe in ubuntu 64 bit

    Sources: (tonyozr) (Nick)

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s