

Install an RPM package on Ubuntu directly You now have successfully installed rpm package on Ubuntu. Now just install deb package simply using the command below or you can also refer to this guide. When the package gets successfully converted you will see the output as follows: b generated sudo alien packagename.rpmĭepending on the size of the package it might take some time. When in that directory just type the command below to start the conversion. Or you can also use cd command in the terminal to navigate to the RPM file’s location. To do this go to the folder where the rpm file located and open a terminal there. Now as we have installed Alien, its time to convert the. The above command will also install the necessary build tools. Now as we have installed Universe repository lets install Alien by the following command. sudo apt-get update Step 3: Install Alien package

:max_bytes(150000):strip_icc()/yum-56a5ab1e3df78cf77289553c.png)
Now you need to update repositories to utilize the newly added repository. sudo add-apt-repository universe Step 2: Update Repositories To add this repository open terminal and type the command below. Step 1: Add the Universe Repositoryīefore installing the alien, we will need to add a software repository called Universe. As it can lead to package dependency conflicts. Note: We do not recommend installing RPM packages on Ubuntu unless there is a option. So to convert RPM files into DEB we will use Alien here.

So just follow this tutorial to install the RPM package on Ubuntu Converting RPM packages into DEB using AlienĪlien is a very useful tool that can convert packages between Red Hat rpm, Debian deb, Stampede slp, Solaris pkg, and Slackware tsz formats. In such cases, there are ways to port these packages to use on Ubuntu. Then you just can’t directly download that software package through repositories on Ubuntu. And when standard repositories are not available deb can be easily installed from appropriate sources.īut in certain rare cases when the software package is only available as an RPM package. As most DEB packages have a standard ubuntu repository. Similarly, Red Hat-based derivatives use RPM as a package manager.īut as its quite easy to install DEB packages in Ubuntu, the same is not the case with RPM files in ubuntu. For instance, Debian based derivatives use DEB as the package manager. Rpm is a package manager used by Red Hat- based derivatives like CentOS, RHEL.
