LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Linux User Groups (LUG)
User Name
Password
Linux User Groups (LUG) This forum allows Linux User Groups (LUG) to gain exposure. It also allows people looking for a LUG in their area to find one.

Notices

Reply
 
Thread Tools
Old 10-12-2009, 10:05 PM   #1
george.tovrea
LQ Newbie
 
Registered: Oct 2009
Posts: 1
Thanked: 0
how to conver deb package to RPM ?


[Log in to get rid of this advertisement]
hi all ~
I have a deb package ,but in order to install it on CentOS, so I have convert it to RPM format .
have anybody knows how to conver deb package to RPM ?



cheers,
george
windows_98_nt_2000 george.tovrea is offline     Reply With Quote
Old 10-12-2009, 10:18 PM   #2
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Ubuntu
Posts: 235
Thanked: 22
You can't you must download the package (RPM) for your distro, (e.g Centos).
Directory locations / libraries etc are all different.
Unless its a custom package in which case you need the source and then try and re-create it on another distro.
linux FragInHell is offline     Reply With Quote
Old 10-13-2009, 04:29 AM   #3
knudfl
Senior Member
 
Registered: Jan 2008
Location: Copenhagen, Denmark
Distribution: pclos2009.2, slack13, Debian Lenny (+30 others, for test only)
Posts: 2,928
Thanked: 272
Welcome to LQ.

Quite simple :
1) su
2) alien -r <package.deb>
.. will create <package.rpm>.
But non CentOS packages will not always work,
you may miss some dependencies, only found in
other debian packages.

The correct way is to find it with 'yum search'
or rebuild it to rpm from a src.rpm or other source.

No 'alien' ? Then http://packages.debian.org/lenny/alien
> Links for alien > > [alien_8.72.tar.gz]
.....
linuxpclinuxos knudfl is online now     Reply With Quote

Reply

Bookmarks


Thread Tools

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
.deb vs .rpm package creation uselpa Linux - Distributions 2 09-04-2007 01:45 AM
Install .deb package on rpm based distribution sailajabhandaru Linux - Software 2 12-12-2005 11:36 PM
How to make deb package chrisstooss Debian 6 09-16-2005 06:21 PM
NFS DEB Package? Al Hawley MEPIS 3 07-11-2005 11:16 AM
can reinstall the rpm package without delete the rpm package eye Red Hat 1 10-20-2003 08:53 AM


All times are GMT -5. The time now is 01:59 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration