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.
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- New Products
- Linux Systems Administrator
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Web & UI Developer (JavaScript & j Query)
- Designing Electronics with Linux
- Dynamic DNS—an Object Lesson in Problem Solving
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Using Salt Stack and Vagrant for Drupal Development
- Reply to comment | Linux Journal
6 hours 3 min ago - Nice article, thanks for the
16 hours 44 min ago - I once had a better way I
22 hours 30 min ago - Not only you I too assumed
22 hours 47 min ago - another very interesting
1 day 40 min ago - Reply to comment | Linux Journal
1 day 2 hours ago - Reply to comment | Linux Journal
1 day 9 hours ago - Reply to comment | Linux Journal
1 day 9 hours ago - Favorite (and easily brute-forced) pw's
1 day 11 hours ago - Have you tried Boxen? It's a
1 day 17 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?



Comments
Single Pakage Standard for all Linux distributions?
There should be a single package standard for ALL Linux distributions.
Single Pakage Standard for all Linux distributions?
There shouldn't be a single package standard for all distributions, but to the extent possible packages made available outside of a distribution's archives/repositories should be made available as LSB compliant packages.
Installing packages in your distribution that were packaged specifically for another distribution is asking for trouble, having a single package standard for distributions won't fix that, and even viewing that as if it were a problem runs counter to what a distribution and it's package management are intended to provide.
LSB packaging on the other hand is intended for packages that you go outside the distribution channels to get, where theoretically as long as you have installed the packages that provide the required level of LSB support dependencies are not an issue, and the native package management system will still have the information about the packages so removal is the same as for a native package.
Later, Seeker
Single format!
> There should be a single package standard for ALL Linux distributions.
Yes, I agree, and it should be .deb packages. No, not the .deb packages used by Ubuntu*, but the .deb packages used by Debian. Unless we want to go with .rpm, but only the .rpm for Red Hat. OK, fine, .rpm for Suse, but not the .rpm for Fedora.
Yeah, even agreeing on one file type (or file extension) doesn't really solve the issue here.
Multiple package formats is fine IF distros would keep theirs unique. *Ubuntu I am looking at you, don't make .deb into the mess that .rpm has become. Change your file extension please to .ubu !! Keep the awesome goodness that is dpkg etc.
Actually there is such a
Actually there is such a standard in LSB, that states that to be LSB compliant you need to support rpm. In Debina this support is provided for by alien.
Whats needed is not just a standard packaging format but also a standard for package naming so we know exactly what files and what upstream version a certain package contains.
I would also say that the .deb system have past its best before date. For one thing .deb packages often want some kind of user input when installed, e.g. if you install postfix you will get all sorts of questions on mail domains. This doesn't work well with graphical installers like packagekit that now is integrated into many GUI environments like e.g . Gnome.
Red Hat and Novell will never switch to .deb for the simple reason that both systems are so similar that it would only be a cost to their customers without any benefits. To get them to switch we need something that is significantly better, .deb is not.
Good Stuff brother!
Good Stuff brother!
Awesome you've certainly
Awesome you've certainly helped millions
Wonderful!
Thanks for the post. I will surely download it and use it when the need arises.