LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing rpm in Ubuntu without using alien? (https://www.linuxquestions.org/questions/linux-software-2/installing-rpm-in-ubuntu-without-using-alien-720853/)

SHENGTON 04-22-2009 03:09 AM

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. :)

megerdin 04-22-2009 04:57 AM

yes you can

write a shell script what will always do it for you.

SHENGTON 04-22-2009 05:01 AM

Quote:

Originally Posted by megerdin (Post 3517099)
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. ;)

Dudydoo 04-22-2009 05:32 AM

Smart Package Manager
http://labix.org/smart

Code:

smart install <name-of-rpm>.rpm
This may be helpful

the trooper 04-22-2009 08:46 AM

Quote:

Originally Posted by Dudydoo (Post 3517137)
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 :twocents:

Dudydoo 04-22-2009 10:25 AM

Thanks for pointing that out the_trooper

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


All times are GMT -5. The time now is 02:51 AM.