LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

alien

Convert between Linux package formats.

TLDR

Convert a file to Debian format (.deb)
$ sudo alien -d [path/to/file]
copy
Convert a file to Red Hat format (.rpm)
$ sudo alien -r [path/to/file]
copy
Convert a file to Slackware format (.tgz)
$ sudo alien -t [path/to/file]
copy
Convert to Debian format and install on the system
$ sudo alien -d -i [path/to/file]
copy
Convert keeping the original version number
$ sudo alien -k [path/to/file]
copy

SYNOPSIS

alien [--to-deb] [--to-rpm] [--to-tgz] [--to-slp] [options] file [...]

DESCRIPTION

alien is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file formats. It enables users to convert packages from one Linux distribution format to another and install them.

PARAMETERS

-d, --to-deb

Create Debian packages (default)
-r, --to-rpm
Create RPM packages
-t, --to-tgz
Create TGZ (Slackware) packages
--to-slp
Create SLP (Stampede) packages
-p, --to-pkg
Create Solaris pkg packages
-i, --install
Install generated packages automatically
-g, --generate
Create temporary directory for manual package building
-k, --keep-version
Don't increment version numbers
-c, --scripts
Convert installation/removal scripts
--fixperms
Sanitize file permissions (Debian only)
-v, --verbose
Display executed commands
-T, --test
Test generated packages with lintian
--bump=N
Increment version number by N instead of 1
-h, --help
Display usage summary
--version
Display alien version

INSTALL

sudo dnf install alien
copy
sudo apk add alien
copy

CAVEATS

Converted packages may not work perfectly as distribution-specific dependencies and scripts may not translate correctly between formats.

HISTORY

Created to help users install software from other Linux distributions when native packages are not available.

SEE ALSO

dpkg(1), rpm(8), debtap(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid