How to install Oracle 10g XE in 64-bit Ubuntu
Sponsored Link
* 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 http://oss.oracle.com/debian/dists/unstable/main/binary-i386/libaio_0.3.104-1_i386.deb
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
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
After this we go to Applications Oracle Database and we click on to Database Home Page (http://127.0.0.1:8080/apex) on our web browser.
Credit goes here
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!
Thanks. The timing of this article was perfect for me. I start a database management class in September. The installation worked perfectly.
You need to install getlibs before you install libc6-i386.
Thanks dude, this is the 2nd time I am using these instructions!
As said here (http://forums.oracle.com/forums/thread.jspa?threadID=436168) 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
first, you have that to make the group “dba” and the user “oracle”, before begin the install
ok
This help me 100%
[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 10.2.0.1-1.0 (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:
oracle-xe:i386
I needed to
>sudo apt-get install libaio1
before it worked. 10.04 64
I have the same problems as Sudhanshu on Ubuntu 11.04 🙁
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)
Ah. My system is UBUNTU 11.04
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
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:
libaio_0.3.104-1_i386.deb
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.
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 http://mikesmithers.wordpress.com/2011/11/26/installing-oracle-11gxe-on-mint-and-ubuntu/
HTH
Mike
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
how to install oracle 10g on linux