LinuxQuestions.org
Visit Jeremy's Blog.
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, 11: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, 12:26 PM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,436

Rep: Reputation: 275Reputation: 275Reputation: 275
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 12:30 PM.
 
Old 08-24-2008, 12:28 PM   #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, 01:52 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,321

Rep: Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581
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 01:53 PM.
 
Old 08-24-2008, 02: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


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

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

All times are GMT -5. The time now is 08:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration