Alien - Use Any Package On Any Distribution
Sometimes, a utility or an application that you want to install is impossible to find in the format of your distribution. Alien is a utility that can convert one package type into another. It can get you out of a fix when you can't find a package for your distribution, and it is also useful for package maintainers who want to distribute packages for distributions that they don't run. It can work with Slackware, Debian and RPM packages as input and output types.
It's surprising how much stuff you tend to come across that is stuck in a single package format. Printer drivers are an example of software that is often abandoned without sourcecode. Occasionally, developers of special interest software only create packages for their own system and there is no one else willing to build for other systems. If you can get the source code, and it compiles, you might be better off using that to install it via the package manager by making use of Checkinstall (see our quick guide) rather than using Alien.
First a word of caution, Alien isn't guaranteed to work with everything that you throw at it. As good as it is, think of Alien as a last resort rather than a preferred installation routine. There is sometimes a significant difference between the different package formats and the organisational layout of source and target distributions that means that it won't work properly. When you're using Alien, you're generally travelling in uncharted waters, and the Alien website advises against the use of Alien to install system level components.
Alien is in the package repository of most of distributions, and once you have it installed, it's simple to use. The format for the command is
alien [options] file
Note that Alien needs root privileges to run. The most important options, for most users, are -r, -d and -t for .rpm (Red Hat), .deb (Debian) and .tgz (Slackware) package output format respectively. Alien can figure out the input package format on its own. So, to take the .deb of wxCam and convert it into an RPM use:
sudo alien -r wxcam_1.0.6_i386.deb
You then apply the standard package installation tools of your distribution and hope for the best.
The Alien package converter website.
UK based freelance writer Michael Reed writes about technology, retro computing, geek culture and gender politics.
- Readers' Choice Awards 2013
- Mars Needs Women
- RSS Feeds
- Sublime Text: One Editor to Rule Them All?
- Raspberry Pi: the Perfect Home Server
- December 2013 Issue of Linux Journal: Readers' Choice
- IBM Will Minimize Impact of Future Disasters
- Tech Tip: Really Simple HTTP Server with Python
- Linux Systems Administrator
- Senior Perl Developer
- This should be very helpful
42 min 50 sec ago
- As much as I share your point
3 hours 2 min ago
- So girls had it better ?
6 hours 34 min ago
- Reply to comment | Linux Journal
6 hours 54 min ago
- why is GNOME 3 in the fifth position at 14.1 %?
12 hours 26 min ago
- Sublime Is Brilliant!
17 hours 29 min ago
17 hours 48 min ago
- Rapid[Disk,Cache] better than native ram caching?
18 hours 13 min ago
- Nothing is perfect
18 hours 27 min ago
- Mixtapes Community
1 day 6 min ago