Puneet Varma (Editor)

Alien (software)

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Original author(s)
  
Joey Hess

Operating system
  
Linux

Written in
  
Perl

Type
  
Package conversion

Stable release
  
8.93 / November 7, 2014; 2 years ago (2014-11-07)

Repository
  
packages.debian.org/unstable/source/alien

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

Contents

Features

Alien supports conversion between Linux Standard Base (LSB), LSB-compliant .rpm packages, .deb, Stampede (.slp), Solaris (.pkg) and Slackware (.tgz, .txz, .tbz, .tlz) 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.

Usage

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 - Deb

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

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

Unknown sudo alien -r (filename).deb

Similar applications

  • checkinstall, for the source tarball (i.e. Gentoo) to .deb (Debian).
  • debbuild, from RPM to .deb
  • References

    Alien (software) Wikipedia