Saturday, 15 April 2017

convert rpm to deb

convert rpm to deb


Hi to all,
     If you want to install rpm file in ubuntu, then you are in right place. Let me help you to do that in a tricky way! Sometimes we are in need to install rpm files in Ubuntu. Thats because some softwares might have only rpm files and not deb files.

     Okay, now no need to worry about it. We are here to convert your rpm files into deb files and installing it in your debian based Operating systems.

     Alien is a program that converts between the rpm, stampede slp, and slackware tgz file formats. If you want to use a package from another distribution than the one you have installed on your system, you can use alien to convert it to your preferred package format and install it.

     It is strongly recommended not to use the "alien program" to convert the system files like sysvinit, shared libraries, or other things that are essential for the functioning of your system.

Installing alien!
     If were unable to find alien in your Ubuntu Software center, then just follow the steps. In case, if you have it in your software center, then install it from there itself (Its always recommended).

sudo apt-get install alien

Work around it!
     The following are the options to convert files in different format. (Note: alien has no GUI and so youve to work in terminal only)

* package.rpm -> package.deb
sudo alien -d package-name.rpm
(Here, -d refers to debian)

* package.rpm -> package.deb and install the generated package.
sudo alien -i package-name.rpm
(Here, -i refers to install)

* For same version number as what in source package,
sudo alien -k rpm-package-file.rpm

Note: Its also possible to convert deb file into rpm,slp, tgz.
* package.deb -> package.rpm
sudo alien -r package-name.deb

For further more details, go through "http://www.debianadmin.com/manpages/alienmanpage.txt"
Hope you enjoyed! Dont hesitate to ask. Have a nice day ahead!
download
alternative link download

Like the Post? Do share with your Friends.