
Install a new package, the information about this package is Packages and the files that belong to a package. The basic idea of RPM is that you have a database of Hat-specific, but is used in many other distributions nowadays, So that you can be assured the software will run properly. Software binaries and remembers what files are needed It also able to perform the inverse, where we convert a Deb file into an RPM file.RPM, the Red Hat Package Manager, is a tool that automates While we only covered RPM to Deb conversion in this tutorial, alien is capable of doing more. You also learned how to install an RPM file directly, without having to convert it first. In this tutorial, you learned how to convert an RPM into a Deb file and install it. rpm ConclusionĪlien is handy utility for converting between different package formats. However, Alien can convert and install all in one step. You first needed to convert the package into Ubuntu’s native package format, and then install it using the dpkg command. The examples above required two steps before an RPM could be installed. deb Install RPM packages on Ubuntu with Alien For installing deb packages, you use the dpkg command. Once the RPM file has been converted to a Deb package, we can install it using native tools.

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

We simply point Alien at our RPM file and it will do the hardwork.

sudo apt-get install alien Converting RPM to Debįor an RPM to be installed on Ubuntu it must be converted to a Deb package, which is what Alien does for us. To install it, use the following command. Installing AlienĪs Alien is available from Ubuntu’s package repository, it is very simple to install. The package is available for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.10, and Ubuntu 20.04. Thankfully, a Debian package named Alien allows us to natively install RPM packages on Ubuntu. Some software maintainers only provide an RPM package, which is a format used exclusively with Red Hat and CentOS based distributions. However, not all not all software is packaged in the deb format. Ubuntu is a Debian based Linux distribution, and as such it uses deb packages for installing software. In this tutorial, you will learn how to install RPM packages on Ubuntu using a package named alien.
