LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 10-12-2009, 10:05 PM   #1
george.tovrea
LQ Newbie
 
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
how to conver deb package to RPM ?


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
 
Old 10-12-2009, 10:18 PM   #2
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Ubuntu
Posts: 274

Rep: Reputation: 45
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.
 
Old 10-13-2009, 04:29 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 8,576

Rep: Reputation: 1207Reputation: 1207Reputation: 1207Reputation: 1207Reputation: 1207Reputation: 1207Reputation: 1207Reputation: 1207Reputation: 1207
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]
.....
 
Old 03-23-2010, 11:48 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,046
Blog Entries: 4

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 05:13 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration