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 04-22-2009, 04:09 AM   #1
SHENGTON
Member
 
Registered: Sep 2008
Posts: 93

Rep: Reputation: 15
Exclamation Installing rpm in Ubuntu without using alien?


Hello guys, good afternoon.

When we try to install deb files in Ubuntu we use this "dpkg" command.

I know we need to install the "alien" program to convert the "rpm" file to "deb" file.

But is there a way that we only need to type the command "rpm -i some-software-1.3-i386.rpm" to install "rpm" files in Ubuntu?

Thanks and God bless.
 
Old 04-22-2009, 05:57 AM   #2
megerdin
Member
 
Registered: Jul 2007
Location: London
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 181

Rep: Reputation: 31
yes you can

write a shell script what will always do it for you.
 
Old 04-22-2009, 06:01 AM   #3
SHENGTON
Member
 
Registered: Sep 2008
Posts: 93

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by megerdin View Post
write a shell script what will always do it for you.
Hello megerdin, good afternoon.

Thanks for taking time replying my topic.

How will I write a shell script?

I'm a novice in Linux.

Thanks and God bless.
 
Old 04-22-2009, 06:32 AM   #4
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
Smart Package Manager
http://labix.org/smart

Code:
smart install <name-of-rpm>.rpm
This may be helpful
 
Old 04-22-2009, 09:46 AM   #5
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
Originally Posted by Dudydoo View Post
Smart Package Manager
http://labix.org/smart

Code:
smart install <name-of-rpm>.rpm
This may be helpful
I'd be very careful,here's a quote from the faq:

Quote:
Does Smart's wide support for packaging systems mean I can install .rpm packages on my Debian system? Or .deb packages on my RPM-based system?

Short answer: no.

Long answer: no, unless you have the non-native package system installed in the same machine. Even then, that doesn't mean it would be a good idea.

Smart is not meant as an universal wrapper around different package formats. It does support RPM, DEB and Slackware packages on a single system, but won't permit relationships among different package managers. While cross-packaging system dependencies could be enabled easily, the packaging policies simply do not exist today.

This is not at all different from what you can already do. In fact, Debian has been shipping the RPM package manager for a few years now. "Possible" does not equal "good idea", and everybody should stick to their native package format.
How many rpm packages do you have to install?
It sounds like overkill to write a script if installing rpm's is something you do only occasionally.
Just my
 
Old 04-22-2009, 11:25 AM   #6
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
Thanks for pointing that out the_trooper

I didn't realise this myself. Personally I have never used smart, but I know of it.
 
  


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
alien from rpm to deb donquixote1 Linux - Software 3 09-11-2008 06:14 AM
I can't install alien (and therefore no RPM files) dpeterson3 Debian 12 06-18-2008 06:38 PM
Error message with RPM, running alien on ubuntu Brian5 Ubuntu 4 01-10-2007 08:07 AM
Problem installing rpm with alien abefroman Debian 2 11-26-2005 05:30 PM
Using alien or using RPM?? R00ts Debian 4 07-26-2004 06:48 PM

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

All times are GMT -5. The time now is 10:02 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