Alien (file converter)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Original author(s)Joey Hess
Stable release
8.95 / October 16, 2016; 2 years ago (2016-10-16)
Repository Edit this at Wikidata
Written inPerl
Operating systemLinux
TypePackage conversion

Alien is a computer program that converts between different Linux package formats, created by Joey Hess and presently maintained by Kyle Barry.[1]


Alien supports conversion between Linux Standard Base (LSB), LSB-compliant .rpm packages,[2] .deb, Stampede (.slp), Solaris (.pkg) and Slackware (.tgz, .txz, .tbz, .tlz)[3] packages. It is also capable of automatically installing the generated packages, and can try to convert the installation scripts included in the archive as well. The latter feature should be used with caution since Linux distributions may vary significantly from one another, and using install scripts automatically converted from an Alien format may break the system.


A sample usage of Alien:

# alien --to-rpm --scripts ./mypkg.deb

This will convert mypkg.deb to mypkg.rpm with the preinst, postinst, prerm and postrm scripts from the Debian package (deb) into the RPM package.

Terminal commands for Alien:
sudo alien (filename).rpm # Rpm to Deb

sudo alien -k (filename).tar.gz # Tar.gz to Deb

sudo alien -d (filename).tar.bz2 # Tar.bz2 to Deb

sudo alien --to-deb ~/(filename).tgz # Tgz to Deb

sudo alien -r (filename).deb

Similar applications[edit]

See also[edit]


  1. ^ Hess, Joey. "new alien maintainer".
  2. ^ Linux Standard Base#Limitations on Debian
  3. ^ Slackware#Package management

External links[edit]