abhi don't worry ... all have solution ... ;)
Install for 32 bits is easy:
sudo sh -c "echo 'deb http://oss.oracle.com/debian unstable main non-free #Oracle XE' >> /etc/apt/sources.list.d/oraclexe.list"
wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add
sudo apt-get update
sudo apt-get install oracle-xe-universal
for 64 bits:
wget 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
sudo dpkg -i --force-architecture libaio_0.3.104-1_i386.deb oracle-xe-universal_10.2.0.1-1.1_i386.deb
rm libaio_0.3.104-1_i386.deb oracle-xe-universal_10.2.0.1-1.1_i386.deb
Remove :
You can use apt-get command to remove / delete Oracle express edition server from the Ubuntu Linux.
Open terminal.
Type the following command to delete it:
sudo apt-get remove oracle-xe or oracle-xe-universal
Configure :
follow this simple an well explain tutorial with screenshot .. it is say how to add your user to dba groups and how to configure oracle to give you a password..
start in step 1. Configuring Oracle
how-to-setup-oracle-10g-xe-in-ubuntu.html
P.D :
About the error ....
you may get an nls_lang error as follows when you try to export the environment variables.
Solution:
ubuntu uses a BASH linux shell. Now open “nls_lang.sh” with a text editor and set the correct shell parameter in the first line of the script.
see step 5. open nls_lang.sh.