Skip to content

Tuesday, February 9th, 2010

New Linux User

HOWTO: Install an RPM Package on a Debian Box?

November 2, 2005 by Jon  
Filed under How To

While installing OpenOffice.org 2.0 today I had the opportunity to run across an application named alien. OOo is only available in rpm format and I run a Debian machine. Alien allowed me to install those RPMs on my Debian box.

From the man alien command:

alien is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file formats. If you want to use a package from another linux distribution than the one you have installed on your system, you can use alien to convert it to your preferred package format and install it. It also supports LSB packages.

To install my OOo rpms on my Debian machine, I opened a terminal window, became root and in in the directory that contained the RPMs I wanted to install, I typed:

alien -i *.rpm

Use the alien man page to check out how you can change packages from one format to another. A very handy utility.

  • StumbleUpon
  • Digg
  • Facebook
  • Mixx
  • Google
  • TwitThis
  • Reddit
  • Yahoo! Buzz
  • Slashdot
  • E-mail this story to a friend!

Comments

15 Responses to “HOWTO: Install an RPM Package on a Debian Box?”
  1. geoff says:

    Based on what it’s doing, I expected I’d have more errors while using alien. I’ve used it three times now, and have had zero errors (during both the conversion and the install).

  2. Jon says:

    I’ve never used it before today, but using it to install 28 OOo RPMs is quite the inaugural challenge.

    No probs…freakin’ neat!

  3. Jeff says:

    What if the rpm file name ends with .bin?

  4. Jon says:

    Hi Jeff,

    I’m not sure what you mean. Do you have a file with that ends in ‘bin’? If so, you should be able to just chmod it to make it executable and run it.

    chmod +x filename.bin
    ./filename.bin

    Am I close? Give me some more info and we’ll figure it out.

  5. John says:

    I loaded debian on my two sons computers and added alien because some of the games they want are rpm and tar.gz but after after using alien to install I don’t find the programs. I find files in the name but they dont function (execute sorry to many microsoft years). the command I used as root is alien -i the drive whirrs for a while and then my name pops back up as if its done…. No games????
    Help?

  6. Jon says:

    Hi John,

    I have two thoughts on this. First, perhaps this entry (click) on how to find files on your system may help you out.

    If not, can you give me more information on what you’re installing? If I know the actual applications I may be able to install them myself and then go looking for them to see where they went.

  7. shailesh says:

    ok sir this is fine, but i want to install .deb package into red hat fedora 4. i have tried .plz.. help me

  8. Jon says:

    You can still use alien. Alien will convert a package into a package for the platform it’s being run on.

  9. Austin says:

    hi jon… I am having the same problem that you did on your sons computers.. I downloaded a .rpm then used alien to install the program…
    I can see the files it installed but cant seem to execute the program. I can’t figure out how to start them. it was not added to the menu..

    By the way the program I downloaded was winamp

  10. Jon says:

    Hi Austin,

    I’m confused. Winamp is a Windows application. As far as I know, it doesn’t come in RPM format since it doesn’t come for Linux at all.

  11. freebsd vps says:

    Maybe you meant another mp3 player, such as xamp which is made for Linux?

  12. webdesign says:

    Thx for the support.. but i got some errors with the scripts not converting..? any body now how i can use the scripts.

Trackbacks

Check out what others are saying about this post...
  1. [...] I recently wrote a quick entry about using alien to install OpenOffice.org v2.0 on my Debian box. [...]

  2. [...] New Linux User » HOWTO: Install an RPM Package on a Debian Box? (tags: Linux tutorial rpm debian) [...]



Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!


About Us | Advertise with us | Blog for EveryJoe | Privacy Policy | Terms of Use
Get This Theme | Sitemap


All content is Copyright © 2005-2010 b5media. All rights reserved.