sudo apt-get install libc6-i386
The next thing to do is download the files we needed. They are
libaio_0.3.104-1_i386.deb and oracle-xe-universal_10.2.0.1-1.1_i386.deb. You can dowload them from: http://oss.oracle.com/debian/dists/unstable/main/binary-i386/libaio_0.3.104-1_i386.deb http://oss.oracle.com/debian/dists/unstable/non-free/binary-i386/oracle-xe-universal_10.2.0.1-1.1_i386.deb
After your downloads are finished, we continue to the main issue,forcing the package to be installed. You could try to install withusual dpkg -i first to make sure your system is really 64 bit.
sudo dpkg -i libaio_0.3.104-1_i386.deb
You’ll get error,
dpkg: error processing libaio_0.3.104-1_i386.deb (--install): package architecture (i386) does not match system (amd64) Errors were encountered while processing: libaio_0.3.104-1_i386.deb
Then we must make sure that we have installed the bc.
sudo apt-get install bc
To force the installation, do these
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
You also need to set enviorenment variables for it like this:
go to etc/profile and edit it, add the follows in it:
$PATH=$PATH:$ORACLE_HOME/bin
export PATH
After that, you need to configure it
sudo /etc/init.d/oracle-xe configure
In this steps, you will need to specify the ports and pasword. The details for my installation are as follows,
Webconsole Http Port: 8080
Database Listener: 1521
Database Password: *******
Now you could go to http://127.0.0.1:8080/apex from your browser. Reference: http://blog.youkuaiyun.com/RobertLeeJesus/archive/2008/06/08/2524832.aspx