Installing Rpm Packages on Ubuntu Linux
Hi! The Tutorial shows you Step-by-Step How to Install a Rpm Package in Ubuntu 16.04 Xenial Xerus LTS GNU/Linux.
The Rpm Package must be First, Converted in the Deb format by the Alien Tool.
Alien converts an RPM package file into a Debian package file or Alien can install an RPM file directly.
However, this is Not the Recommended way to install software packages in Ubuntu.
Dependencies conflicts may occur when attempting to install RPM packages.
And so in case, Aptitude or Synaptic GUI Package Managers may be ables to fix or remove any Broken Dependency.
-
Open a Shell session
Ctrl+Alt+t to open a Terminal emulator on Desktop
(Press “Enter” to Execute Commands) -
First, Install the needed Tools:
sudo apt-get install alien dpkg-dev debhelper build-essential
However all this stuff may be Already installed…
-
To Convert the Rpm package in Debian format:
alien ~/Downloads/[MYPACKAGE].rpm
-
Checking/Installing GDebi Package Installer:
which gdebi
If Not there then:
sudo apt-get install gdebi gdebi-core
If Got “User is Not in Sudoers file” then see: How to Enable sudo
-
Then to Install the package:
sudo gdebi [MYPACKAGE].deb