How to Re-install oracle 10g universal in Ubuntu

Step 1: Go to Applications – Accessories – Terminal, Terminal window opens

Step 2: Type the command,
sudo dpkg -P oracle-xe-universal

Step 3: All the files and configuration files will get deleted.

Step 4: Check the folder “/usr/lib”, if it contains oracle folder then delete it.

Step 5: Restart the computer.

Step 6: Install the “oracle-xe” package in your system.

Step 7: Then configure it using the command,
sudo /etc/init.d/oracle-xe configure