LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 03-11-2003, 01:14 AM   #1
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
Question about Debian and rpm.


I grew interested in Debian lately and downloaded the 7 iso's to try it out, so now I'm reading a lot first to avoid unpleasant surprises.
I read that one could install rpm packages with Debian, even rpm's made for Red Hat (using a program called "alien")?

I'm confused about this, what's the point of the package management system debate if it's possible to install .deb AND .rpm packages with Debian.
That would meand the best of both worlds, wouldn't it?
I even saw rpm repositories for Woody!!

All I should do is # apt-get install rpm and I'm set to go?
 
Old 03-11-2003, 09:51 PM   #2
Dave Skywatcher
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 127

Rep: Reputation: 16
It is a little confusing. I'll try to make it simple:

Yes, you can use RPM with Debian to install RPM packages. However, this is not done with alien. Rather, it is actually done with the same RPM program that is used by the Red Hat distro, which is available as a Debian package (you can use apt-get or dselect to install the RPM program).

The purpose of alien is to convert other types of packages to DEB packages. In other words, if you have an RPM and you want it to be managed by Debian's package-management tools, you need to convert it with alien first, because said tools only work with DEB packages.

So you have a choice, once you've downloaded an RPM file: use it as-is (with RPM), or use alien to convert it to a DEB file. I personally prefer the second option, because I think that Debian's method of package management is superior to RPM (specifically, it can handle dependencies and uninstalls much better in many cases), and because that saves you from having to use two package managers and keep track of which software was installed by which. But you may prefer RPM if you are already familiar with it.
 
Old 03-12-2003, 03:57 AM   #3
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
If you want to keep a clean .deb system you should try alien and convert the rpm.If you do install rpm's apt doesn't know about them and that can screw up things AFAIK.It is working fine with smaller stuff.I wouldn't try it with kde-app's or openoffice though.You probably won't need this anyway - there is a .deb for about anything.
 
Old 03-12-2003, 08:35 PM   #4
eggs
Member
 
Registered: Jun 2002
Location: Jackson, TN
Distribution: Arch Linux 0.6
Posts: 60

Rep: Reputation: 15
If you start useing both rpm and debs on the same system it would get messed up pretty fast since they keep track of deps independantly of each other...

I think the rpm package is included for 2 main reasons... 1). To create rpm's if you are a developer 2). The sake of completeness
 
Old 03-12-2003, 08:54 PM   #5
crichards
Member
 
Registered: Feb 2003
Location: Arizona
Distribution: Gentoo!
Posts: 124

Rep: Reputation: 15
Debian has thousands of packages. You don't need to install RPMs. Its a waste of time and effort. It took me 20 minutes to convert the SuSE StarOffice 5.2 RPM to a Debian package, and it wasn't worth it. Since StarOffice is junk (IMHO)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get the rpm command and rpm build command on my Debian box? abefroman Debian 6 11-28-2005 12:38 PM
How can I rebuild an RPM in debian? linx win Debian 4 01-03-2005 09:42 AM
slackware/rpm on debian DAChristen29 Linux - Software 8 10-11-2004 04:51 PM
Using RPM fully on Debian perlspinr Linux - Software 1 05-28-2004 07:46 PM
rpm in debian rch Linux - Distributions 6 03-21-2003 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 08:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration