How to convert packages RPM to DEB and DEB to RPM Using alien

How to convert packages RPM to DEB and DEB to RPM Using alien

In this tutorial I will show you, how to convert packages RPM to DEB and DEB to RPM using alien.

Alien is used for converting packages. You can convert packages to RPM, to DEB, to Slackware tgz, to LSB, to Stampede slp package or to Solaris pkg package.

How to install alien?

on Debian: sudo apt-get install alien

on Fedora: sudo yum install alien

on OpenSuSE: sudo zypper install alien

In this article I will convert Molly-Guard from DEB to RPM and show you how to convert files in the other available formats:

How to convert a package from DEB to RPM:

alien -r molly-guard*.deb

$ sudo alien -r molly-guard_0.4.4-2_all.deb
molly-guard-0.4.4-3.noarch.rpm generated

Not you can install the .rpm generated package on your Fedora with rpm:

$ sudo rpm -i molly-guard-0.4.4-3.noarch.rpm

How to convert packages with alien:

Convert a package to DEB:
# alien -d package.*

Convert a package to Stampede slp package:
# alien –slp package.*

Convert a package to LSB:
# alien -l package.*

Convert a package to Slackware tgz package:
# alien -t package.*

Convert a package to a Solaris pkg package:
# alien -p package.*

I think alien works only for converting a package from this list {DEB,RPM,SLP,LSB,TGZ,PKG} to a package format from the same list: ex deb to rpm, tgz to slp…

Was this Tutorial helpful? Help others share on Facebook, Twitter, and Google Plus!

 
Enjoyed this video?
How to convert packages RPM to DEB and DEB to RPM Using alien
"No Thanks. Please Close This Box!"