Overview

In this tutorial, you will learn how to install RPM packages on Ubuntu using a package named alien.

Ubuntu is a Debian based Linux distribution, and as such it uses deb packages for installing software. However, not all not all software is packaged in the deb format. Some software maintainers only provide an RPM package, which is a format used exclusively with Red Hat and CentOS based distributions.

Thankfully, a Debian package named Alien allows us to natively install RPM packages on Ubuntu. The package is available for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.10, and Ubuntu 20.04.

Installing Alien

As Alien is available from Ubuntu’s package repository, it is very simple to install. To install it, use the following command.

sudo apt-get install alien

Converting RPM to Deb

For an RPM to be installed on Ubuntu it must be converted to a Deb package, which is what Alien does for us. We simply point Alien at our RPM file and it will do the hardwork.

alien .rpm

Alien will output a new deb file from the RPM, which will need to be installed using native Ubuntu or Debian tools.

#administration #alien #deb #debian #rpm #ubuntu

How install RPM packages on Ubuntu using Alien - Serverlab
7.80 GEEK