Wednesday, October 19, 2011 | By: Dalia

Install Oracle 10g XE in 64-bit Ubuntu

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.

ADs