How to use the alien command to convert an RPM file to a Debian deb package.

Posted: December 11, 2013. At: 9:33 PM. This was 4 years ago. Post ID: 6711

The alien command is used to convert Linux packages from one format to another. Install this on Linux by typing this command:

[email protected]:~/Desktop$ sudo apt-get install alien

Then you may convert a package using this command. Below is an example.

homer@lollinux-machina:~/Desktop$ sudo alien me-tv-1.3.6-1.fc14.x86_64.rpm 
warning: me-tv-1.3.6-1.fc14.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
warning: me-tv-1.3.6-1.fc14.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
warning: me-tv-1.3.6-1.fc14.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
warning: me-tv-1.3.6-1.fc14.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
warning: me-tv-1.3.6-1.fc14.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
warning: me-tv-1.3.6-1.fc14.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
warning: me-tv-1.3.6-1.fc14.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
warning: me-tv-1.3.6-1.fc14.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
warning: me-tv-1.3.6-1.fc14.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
warning: me-tv-1.3.6-1.fc14.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
warning: me-tv-1.3.6-1.fc14.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
warning: me-tv-1.3.6-1.fc14.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
warning: me-tv-1.3.6-1.fc14.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
warning: me-tv-1.3.6-1.fc14.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
warning: me-tv-1.3.6-1.fc14.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
warning: me-tv-1.3.6-1.fc14.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
Warning: Skipping conversion of scripts in package me-tv: postinst postrm
Warning: Use the --scripts parameter to include the scripts.
warning: me-tv-1.3.6-1.fc14.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
me-tv_1.3.6-2_amd64.deb generated

This is very useful if you wish to install a package and you can only find an RPM package. You might have problems with dependencies though.

1 responses to “How to use the alien command to convert an RPM file to a Debian deb package.

Leave a Reply