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:
- 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
Related videos on Youtube
Author by
venky513
if I get keen interest on anything I wont leave it till its done
Updated on September 18, 2022Comments
-
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 over 5 yearsBe 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 almost 5 yearsI 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 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 almost 5 yearsSeth, no. However, those previous answers aren't good answers.
-
-
masterxilo over 5 yearsSee github.com/oracle/docker-images/blob/master/OracleDatabase/… for more info on the "docker-way (tm)".
-
Beginner over 3 yearsOn my machine alien does not convert or install the rpm containing oracle xe successfully.
-
Beginner over 3 yearsUnpacking of 'oracle-database-xe-18c-1.0-1.x86_64.rpm' failed at /usr/share/perl5/Alien/Package/Rpm.pm line 168.