AmrAbdeen
8/28/2015 - 2:20 PM

How to change .rpm package into .deb and vice versa

How to change .rpm package into .deb and vice versa

.rpm packages are those packages used by Red Hat linux and .deb are those installer files used by Debian Distros. Some time you must have to convert .rpm packages into .deb and vice versa. fot that you must install a program called Alien

Insatalling Alien in Debian Distros

just type the following command in linux

                    sudo apt-get install alien

Convert .rpm into .dev

first navigate to folder having .rpm file and then type in terminal

                   alien packagename.rpm

Convert .deb file into .rpm

first navigate to folder having .deb file and then type in terminal

                  alien -r packagename.deb
                   
Not only this you can convert to other files such as slp package, LSB package, tgz package, etc. yo can see examples into below figures.