How to install Oracle 18C XE package on Ubuntu 18.04

I have downloaded Oracle 18C XE the rpm file, but I don't know how to install the database.


Alien

Description

Convert and install rpm and other packages. Alien allows you to convert LSB, Red Hat, Stampede and Slackware Packages into Debian packages, which can be installed with dpkg or apt.

It can also generate packages of any of the other formats.

This is a tool only suitable for binary packages.

Install

sudo apt install alien

Usage

alien -d your_rpm_file.rpm

Then install it with apt:

sudo apt install ./your_rpm_file.deb

I would google for a snap or docker image instead of converting a rpm pkg, eg:

  • https://github.com/oracle/docker-images/tree/master/OracleDatabase/SingleInstance/dockerfiles
  • https://github.com/oracle/docker-images/blob/master/OracleDatabase/SingleInstance/README.md

For more info visit:

  • https://github.com/oracle/docker-images
  • https://github.com/oracle/docker-images/blob/master/OracleDatabase/SingleInstance/README.md