How to install Oracle 18C XE package on Ubuntu 18.04

20,223

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:

For more info visit:

Share:
20,223

Related videos on Youtube

venky513
Author by

venky513

if I get keen interest on anything I wont leave it till its done

Updated on September 18, 2022

Comments

  • venky513
    venky513 over 1 year

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

    • Thomas Ward
      Thomas Ward over 5 years
      Be careful when trying to install RPMs in Ubuntu, the underlying package management system is NOT RPM based for Ubuntu, so you may end up clobbering software dependencies, already installed libraries, etc. in your attempts to install the RPM. (RPMs are for Red Hat based systems like RHEL or CentOS, not Ubuntu)
    • Will Sams
      Will Sams almost 5 years
      I apologize for flagging this question earlier, I didn't realize I could just comment. Any hoot...I don't think this should be considered a duplicate of "how to install .rpm packages". It's specifically about Oracle 18c XE, which isn't as straightforward as just using alien. There are numerous system configuration changes that would need to be made if (depending which version of Oracle XE) the alien process doesn't fail.
    • web.learner
      web.learner almost 5 years
      @WillSams Currently the only answers talk about alien and other conversion tools. Do you have a more in-depth answer you would like to provide?
    • Will Sams
      Will Sams almost 5 years
      Seth, no. However, those previous answers aren't good answers.
  • masterxilo
    masterxilo over 5 years
    See github.com/oracle/docker-images/blob/master/OracleDatabase/… for more info on the "docker-way (tm)".
  • Beginner
    Beginner over 3 years
    On my machine alien does not convert or install the rpm containing oracle xe successfully.
  • Beginner
    Beginner over 3 years
    Unpacking of 'oracle-database-xe-18c-1.0-1.x86_64.rpm' failed at /usr/share/perl5/Alien/Package/Rpm.pm line 168.