Results 1 to 10 of 13
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 ...
- 04-22-2009 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 68
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.
- 04-22-2009 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
No, there is no rpm database or framework running in Ubuntu. Ideally you should avoid running rpms at all in Ubuntu and instead use at least *.deb files and preferably those built specifically for Ubuntu. If you are required to regularly load an rpm package to Ubuntu you could create a script to convert the package and then load it using dpkg.
- 04-22-2009 #3Just Joined!
- Join Date
- Sep 2008
- Posts
- 68
I just install now the "rpm" package from the Synaptic Package Manager and I can install rpm packages using this command: sudo rpm -i software.rpm
Thanks and God bless.
- 04-22-2009 #4
.................................................. .................................................. ..............................................
.................................................. ..................................
.................................................. ................................................
Saved another one there bigtomrodneyNew to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 04-22-2009 #5Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
I stand corrected

EDIT - I was wondering why I hadn't come across that before, and it seems there's a good reason! From the package pageIt seems that you may put yourself in a situation where you overwrite files from other .deb packages, not to mention the knockon effects of dependencies in this scenario!If you want to install Red Hat Packages then please use the alien package. Using rpm directly will bypass the Debian packaging system!Last edited by bigtomrodney; 04-22-2009 at 12:33 PM.
- 04-22-2009 #6
I'm curious what package you're trying to install that only exists in rpm and not in deb?
- 04-22-2009 #7Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 04-23-2009 #8
I would suggest that rather then mixing rpm and deb in your package manager, install using deb since that is ubuntu's default, and then build stuff from source, keeping it in /usr/local/bin . It is not that dificult to build from source, and it is an invaluble skill to learn, as you may not be able to find ANY binary packages for some programs, or you wont find any packages with the options you want (This happens A LOT on distros like fedora, ubuntu, suse, mandrivia, and any other of the large distros. They are made to satisfy 90% of the people, 90% of the time, not to satisfy YOUR needs).
To keep stuff organized, when building from source, I use prefixes such as `./configure --prefix /usr/loca/bin/gimp` for if I was building gimp. Then, if I want to delete it, I just need to `rm -rf /usr/local/bin/gimp` and remove the symbolic link I put from /usr/local/gimp/bin/gimp, or whatever to /usr/local/bin.New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 04-23-2009 #9
What about just using checkinstall when building from source, so the package manager will track it?
- 04-23-2009 #10Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110


Reply With Quote

