Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my case the software I am trying to convert is the Lacie lightscribe labeler.

1.- I renamed the RPM

mv LaCie\ LightScribe\ Labeler\ 1.0\ Linux.rpm lacie-lightscribe-labeler-1.0.rpm

2.- Convert the package with alien

sudo alien lacie-lightscribe-labeler-1.0.rpm


lacie-lightscribe-labeler-1.0.rpm is for architecture i386 ; the package cannot be built on this system

I know that:

  • I could do this in a x86 system and then copy it from there.
  • Use the simple labeler

I'm curious about how to do this conversion in general.

share|improve this question
Maybe this can help you. Not sure since I am not familiar with alien. – edwin Jul 21 '13 at 16:00
Yes it helped, thanks! – givanse Jul 21 '13 at 16:08
up vote 10 down vote accepted

The process is quite easy, in short you need to modify the control file and that's it.

sudo alien -g package-name.rpm
cd package-dir/
sudo vi debian/control

Now change the architecture (i386 in my case) to be the one you need. For example, I added the amd64 archicture and this is how the line ended up:

Architecture: i386, amd64

Last step:

sudo debian/rules binary

This will produce the .deb file.


share|improve this answer
You can accept your own answer. Click the check button. – edwin Jul 21 '13 at 16:23
+1 Can one do that on a 32 bit machine too? Or you need only to be on 64 bit to achieve that. – fayyazkl Apr 25 '14 at 17:37

I made it work with just this command:

fakeroot alien --target=amd64 package.i586.rpm
share|improve this answer
fakeroot in action, it was meant for this kind of thing – Muriuki David Jul 1 at 16:16

$sudo apt-get install alien

$sudo alien

check out this post from link for the complete details with example and screenshot

share|improve this answer
Welcome , can you copy important things from the link to your answer ? – Ahmed Jerbi May 29 at 8:57
-1 The OP said Alien does not work. – Bharadwaj Raju May 30 at 11:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.