Alien : rpm to deb

 

Ever wanted to convert a .rpm file to .deb file ?

Alien” is a tool that comes handy for this🙂

 

If you are a Debian or an Ubuntu user, install the “Alien” as follows:

$ sudo apt-get install alien

Once this is installed, we are ready to convert our .rpm file to .deb

$ alien -d package-name.rpm

The above command will generate the respective .deb file, which can be installed as usual, as follows:

$ sudo dpkg -i package-name.deb

 

If you want to keep alien from changing the version number use the following command

#alien -k rpm-package-file.rpm

Example

Suppose we have a avg antivirus avg71lms-r30-a0782.i386.rpm file

To convert .rpm to debian

#alien -k avg71lms-r30-a0782.i386.rpm

Now you should be having avg71lms-r30-a0782.i386.deb file

 

P.S: please refer man alien for more info.

“Sometimes Aliens can come to our rescue”🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s