How to install Oracle 10g XE in 64-bit Ubuntu

Sponsored Link
Oracle Database 10g Express Edition (Oracle Database XE) is an entry-level, small-footprint database based on the Oracle Database 10g Release 2 code base that's free to develop, deploy, and distribute; fast to download; and simple to administer. Oracle Database XE is a great starter database for:

* Developers working on PHP, Java, .NET, XML, and Open Source applications
* DBAs who need a free, starter database for training and deployment
* Independent Software Vendors (ISVs) and hardware vendors who want a starter database to distribute free of charge
* Educational institutions and students who need a free database for their curriculum

With Oracle Database XE, you can now develop and deploy applications with a powerful, proven, industry-leading infrastructure, and then upgrade when necessary without costly and complex migrations

Install Oracle 10g XE in 64-bit Ubuntu

First of all we need to be sure that we have installed the 32 bits libraries.Open the terminal and run the following command

sudo apt-get install libc6-i386

After this we do the following. We have to download Oracle 10g XE.We download it from Oracle official site.
We also have to download an extra deb package. For that we to the following

wget -c

When we got this two packages. We have to force the installation of oracle.

dpkg -i --force-architecture libaio_0.3.104-1_i386.deb
dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb

When the installation is ready. We need to configure it

sudo /etc/init.d/oracle-xe configure

and we edit the ~/.bashrc

gksudo gedit ~/.bashrc

Add the following lines and save the file

export PATH

After this we go to Applications Oracle Database and we click on to Database Home Page ( on our web browser.

Credit goes here

Sponsored Link

You may also like...

18 Responses

  1. rallen71366 says:

    This looks a lot easier to accomplish than when I installed Oracle 10g on Ubuntu 8.04 server. But even that was almost automated. I did have to install packages and links to make Ubuntu look like a RedHat install, though. Good job!

  2. Neuromancer says:

    Thanks. The timing of this article was perfect for me. I start a database management class in September. The installation worked perfectly.

  3. asdf says:

    You need to install getlibs before you install libc6-i386.

  4. cenk says:

    Thanks dude, this is the 2nd time I am using these instructions!

  5. Bruno Medeiros says:

    As said here ( on comments, you need to install ‘bc’ and ‘ia32-libs’ on Ubuntu 64 server, before install libaio and oracle:
    sudo apt-get install bc ia32-libs

  6. Roy says:

    first, you have that to make the group “dba” and the user “oracle”, before begin the install


  7. Lonique says:

    This help me 100%

  8. Sudhanshu says:

    sudhanshu@neo:~$ sudo dpkg -i –force-architecture oracle-xe_10.2.0.1-1.0_i386.deb
    dpkg: warning: overriding problem because –force enabled:
    package architecture (i386) does not match system (amd64)
    (Reading database … 147378 files and directories currently installed.)
    Preparing to replace oracle-xe:i386 (using oracle-xe_10.2.0.1-1.0_i386.deb) …
    Unpacking replacement oracle-xe:i386 …
    dpkg: dependency problems prevent configuration of oracle-xe:i386:
    oracle-xe:i386 depends on libc6 (>= 2.3.2).
    dpkg: error processing oracle-xe:i386 (–install):
    dependency problems – leaving unconfigured
    Processing triggers for bamfdaemon …
    Rebuilding /usr/share/applications/bamf.index…
    Processing triggers for desktop-file-utils …
    Processing triggers for python-gmenu …
    Rebuilding /usr/share/applications/desktop.en_IN.utf8.cache…
    Processing triggers for man-db …
    Processing triggers for ureadahead …
    ureadahead will be reprofiled on next reboot
    Processing triggers for python-support …
    Errors were encountered while processing:

  9. Ben says:

    I needed to
    >sudo apt-get install libaio1
    before it worked. 10.04 64

  10. Burfee says:

    I have the same problems as Sudhanshu on Ubuntu 11.04 🙁

  11. Diego says:

    I have the same problem too.
    dpkg: dependency problems prevent configuration of oracle-xe-universal:i386:
    oracle-xe-universal:i386 depends on libc6 (>= 2.3.2)

  12. Diego says:

    Ah. My system is UBUNTU 11.04

  13. Monmohan says:

    I had to do the following in addition
    extract the deb
    ar vx oracle-xe-universal_10.2.0.1-1.1_i386.deb

    edit control file to rmeove dependency on libc6
    It will then have just
    Depends: libaio (>= 0.3.96) | libaio1 (>= 0.3.96)

    rebuild the control.tar.gz

    rebuild package
    ar rcv oracle-xe-universal_10.2.0.1-1.1_i386.deb debian-binary control.tar.gz data.tar.gz
    it installs fine

  14. paul says:

    When I was trying to install libaio – I am getting the following error, unable to proceed further. (i have Ubuntu 10.04-LTS in AMD64)
    Appreciate any help

    sudo dpkg -i –force-architecture libaio_0.3.104-1_i386.deb
    dpkg: warning: overriding problem because –force enabled:
    package architecture (i386) does not match system (amd64)
    dpkg: regarding libaio_0.3.104-1_i386.deb containing libaio:
    libaio1 conflicts with libaio
    libaio (version 0.3.104-1) is to be installed.
    dpkg: error processing libaio_0.3.104-1_i386.deb (–install):
    conflicting packages – not installing libaio
    Errors were encountered while processing:

  15. March says:

    Have you tried to install libaio1 (the last character is a one) ? It worked like a charm for me, ubuntu 10.10.
    Thanks for your help, I was having problem installing oracle on opensuse, apparently for the lack of .bashrc
    Installed on a Ubuntu VM, no problem at all.

  16. Mike says:

    Oracle have now released XE 11g, which is not currently in the repositories. There are a few additional installation steps required but it’ll still work quite happily on Ubuntu 64-Bit.
    You can find installation steps at



  17. prasad says:

    To install oracle xe, follow the below command.

    sudo dpkg -i –force-architecture –force-depends oracle-xe-universal_10.2.0.1-1.1_i386.deb

  18. vijay says:

    how to install oracle 10g on linux

Leave a Reply

Your email address will not be published. Required fields are marked *