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

Related posts

18 thoughts on “How to install Oracle 10g XE in 64-bit Ubuntu

  1. 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. Thanks. The timing of this article was perfect for me. I start a database management class in September. The installation worked perfectly.

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


  4. [email protected]:~$ 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:

  5. 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)

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

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

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

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

Leave a comment

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