Home > How-to tutorials > How-to: Installing Oracle on Ubuntu

How-to: Installing Oracle on Ubuntu

Installing Oracle XE on Ubuntu is quite easy and straightforward. Following steps show you how to install, configure and run Oracle XE database on Ubuntu Linux system.

1. Add new repository

1.1 Add this entry to your software sources: deb http://oss.oracle.com/debian unstable main non-free.

You can do it by simply clicking: System->Software Sources->Third-Party Software (as shown below) or add this entry into the  /etc/apt/sources.list file. Choice is yours, same effect.


1.2 Add public key

Simply write into console wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add – . But of course you can do it navigating to System->Software Sources->Authentication

2. Run Oracle installation

Simply type:

sudo apt-get install oracle-xe

and after installation is finished, run configuration program:

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

where you anwer four simple questions:

  1. Oracle Application Express port (default 8080)
  2. Port for database connection (default 1521)
  3. Password for user SYSTEM – the administrator
  4. yes or no question whether you would like to run database with startup of your system

And that’s it! You have running Oracle instance. You can start playing with it by running SQL*Plus or web application at

  1. May 26, 2009 at 3:23 am

    Awesome notes here. It took me all of 10 minutes to do in Linux and your pointers what took me all day in Windows Vista. I love linux!!

    Why isn’t there a package manager for windows? That seems like a no brainer.

  2. paulszulc
    May 27, 2009 at 6:44 am

    I’m glad my post helped ;)Why Windows does not have package manager? I really don’t know… Maybe it would be much harder to sell software 😉 But seriously, I have no idea.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: