LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-24-2008, 10:39 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
use rpm to install package on debian


I want to install a package on debian server , but these is only a .rpm package ( not .deb ) , can I use rpm -ivh to install ( like redhat ) it ? thx
 
Old 08-24-2008, 11:26 AM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
Try alien:
Code:
apt-get install alien
alien -d package_name.rpm
dpkg -i converted_package.deb
(alien -i package_name.rpm should install it in one command)

Last edited by jens; 08-24-2008 at 11:30 AM.
 
Old 08-24-2008, 11:28 AM   #3
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Try installing 'alien' to convert the package from RPM to DEB.
Google for it, there are guides/information available.
 
Old 08-24-2008, 12:52 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Alien is basically a Debian package so
# 'apt-get install alien' will do.

Regards
EDIT : sorry, did not see #2

Last edited by knudfl; 08-24-2008 at 12:53 PM.
 
Old 08-24-2008, 01:03 PM   #5
pode1
LQ Newbie
 
Registered: Jul 2008
Posts: 6

Rep: Reputation: 0
Hi, i´d just like to add that i did convert a kernel package to deb using alien ... and it worked! But alien is not meant to be used with critical packages...

Bye
 
  


Reply



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
installing an rpm package on Debian 4.0 Greebstreebling Linux - Software 1 05-01-2008 09:24 AM
rpm package install - RealPlayer10GOLD.rpm tslinux Linux - Newbie 7 09-08-2007 09:28 PM
How to install Linux RPM package under Debian? yilang Debian 4 08-06-2005 11:19 PM
Debian: Problem installing 'Source RPM package' driver for winmodem Steerpike_jhb Linux - Newbie 8 03-17-2005 03:33 AM
RPM to Debian package davsinc Linux - General 3 01-02-2003 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:28 AM.

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