Software:Alien (file converter)
Original author(s) | Joey Hess |
---|---|
Stable release | 8.95.5
/ August 22, 2021 |
Written in | Perl |
Operating system | Linux |
Type | Package conversion |
License | GPLv2+ |
Website | alien-pkg-convert |
Alien is a computer program that converts between different Linux package formats, created by Joey Hess and presently maintained by Kyle Barry.[1]
Features
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.
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:$ alien ${filename}.rpm # Rpm to Deb
$ alien -k ${filename}.tar.gz # Tar.gz to Deb
$ alien -d ${filename}.tar.bz2 # Tar.bz2 to Deb
$ alien --to-deb ~/${filename}.tgz # Tgz to Deb
$ alien -r ${filename}.deb
It might require Super User Privileges to run the command. If it does then proceed with the commands below
$ 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
- CheckInstall, for the source tarball (i.e. Gentoo) to .deb (Debian).
See also
- Package management system
References
External links
- "Official website". https://alien-pkg-convert.sourceforge.io.
- "Previous page for Alien by Joey Hess". 2016-10-16. https://joeyh.name/code/alien/.
- "alien(1)". https://manpages.debian.org/unstable/alien/alien.1p.en.html.
- "alien(1)". http://manpages.ubuntu.com/manpages/trusty/man1/alien.1p.html.
- "fakeroot(1)". https://manpages.debian.org/unstable/fakeroot-ng/fakeroot.1.en.html. "an alien helper utility"
Original source: https://en.wikipedia.org/wiki/Alien (file converter).
Read more |