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.
Today’s modular x86 servers are compute-centric, designed as a least common denominator to support a wide range of IT workloads. Those generic, virtualized IT workloads have much different resource optimization requirements than hyperscale and cloud applications. They have resulted in a “one size fits all” enterprise IT architecture that is not optimized for a specific set of IT workloads, and especially not emerging hyperscale workloads, such as web applications, big data, and object storage. In this report, you will learn how shifting the focus from traditional compute-centric IT architectures to an innovative disaggregated fabric-based architecture can optimize and scale your data center.
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
| 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 |
| Non-Linux FOSS: Seashore | May 10, 2013 |
| Trying to Tame the Tablet | May 08, 2013 |
| Dart: a New Web Programming Experience | May 07, 2013 |
- New Products
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Drupal Is a Framework: Why Everyone Needs to Understand This
- A Topic for Discussion - Open Source Feature-Richness?
- Home, My Backup Data Center
- RSS Feeds
- New Products
- Trying to Tame the Tablet
- What's the tweeting protocol?
- Dart: a New Web Programming Experience
- Reply to comment | Linux Journal
23 min ago - Drupal is an Awesome CMS and a Crappy development framework
5 hours 2 min ago - IT industry leaders
7 hours 24 min ago - Reply to comment | Linux Journal
1 day 12 min ago - Reply to comment | Linux Journal
1 day 2 hours ago - Reply to comment | Linux Journal
1 day 4 hours ago - great post
1 day 4 hours ago - Google Docs
1 day 5 hours ago - Reply to comment | Linux Journal
1 day 9 hours ago - Reply to comment | Linux Journal
1 day 10 hours ago
Enter to Win an Adafruit Prototyping Pi Plate 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 Prototyping Pi Plate 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
- Next winner announced on 5-21-13!
Free Webinar: Linux Backup and Recovery
Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.
In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.



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.