Ubuntu – How to install oracle10g


I want to install oracle10g on my ubuntu 11.10 server but it has
this error:

E: Unable to locate package oracle-xe

Best Answer

Step 1:

Add the following lines to the /etc/apt/sources.list

Oracle Repository

deb http://oss.oracle.com/debian unstable main non-free

Step 2:

import the key

wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add -

Step 3:

Update the package repository database by using the following command:

sudo apt-get update

Step 4:

Install the Oracle Express packages:

sudo aptitude install oracle-xe oracle-xe-client

Step 5:

Configure the oracle as per ur need

sudo /etc/init.d/oracle-xe configure

Step 6:

Access the nice Oracle web interface by: