Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-20-2009, 06:36 AM
|
#1
|
|
LQ Newbie
Registered: Feb 2005
Location: India
Posts: 1
Rep:
|
How to run .rpm files on different flavors of linux?
How to run .rpm files on different flavors of linux?
i.e. Ubuntu mandrak suse
Last edited by uday_emersion; 03-20-2009 at 06:43 AM.
|
|
|
|
03-20-2009, 06:36 AM
|
#2
|
|
Member
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 1
Posts: 250
Rep:
|
alien
|
|
|
|
03-20-2009, 06:40 AM
|
#3
|
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,971
|
Quote:
Originally Posted by uday_emersion
How to run .rpm files on different flavors of linux?
i.e. Ubuntu madrak suse
|
You could use alien as said to convert between package formats. But I'd try to find a package that works for your distro first. And, if not possible, try to find a tarball or zip file with the sources and compile it yourself.
|
|
|
|
03-20-2009, 06:42 AM
|
#4
|
|
Member
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Rep:
|
I've only ever used rpm2tgz way back on Slack 9. Suppose that's something.
|
|
|
|
03-20-2009, 07:02 AM
|
#5
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,833
|
Installing a package not intended for your distribution and version will very often mess up your system because it doesn't rely on the same components, for instance libraries.
If you can't find a package for an application you need, my advice is to make yourself one so at least it will be easy to remove.
|
|
|
|
03-20-2009, 07:15 AM
|
#6
|
|
LQ Newbie
Registered: Jun 2003
Distribution: Slackware
Posts: 29
Rep:
|
I have always compiled from source if i cannot find a package, even then, the package may not always have the feature(s) I want enabled in the package, so I would have to recompile from source anyway.
But Slackware is rpm2tgz, and very often the rpm packages do not work on Slack...
Not sure about Ubuntu, Mandrake, and Suse.
|
|
|
|
03-20-2009, 07:44 AM
|
#7
|
|
Member
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301
Rep:
|
Mandrake and Suse work with rpm as far as I know...
Suse installs them with yast, I don't remember how Mandrake used to do it (I was still a newbie when I used it)
As for Ubuntu... it already has more packages then any other distro... If you actually do find something that isn't in it's repository, compiling from source is the safest option. Otherwise, use alien, as the others have said 
|
|
|
|
03-20-2009, 08:12 AM
|
#8
|
|
Member
Registered: Jan 2009
Location: Palermo, Italy
Distribution: Slackware
Posts: 236
Rep:
|
Sometimes the converting procedure doesn't work, because all distros are different each other. In particular the "not-derived" distros. So, it's very hard to convert a .rpm package built for mandriva(and derives...) on slackware, they use different directories where save programs, etc...So, maybe files could be saved in different places and something couldn't work correctly.  Bye.
|
|
|
|
03-20-2009, 09:04 PM
|
#9
|
|
Member
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 1
Posts: 250
Rep:
|
ubuntu has lots and lots of software. You should not need to convert from any other distro.
|
|
|
|
03-21-2009, 06:11 AM
|
#10
|
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,971
|
Quote:
Originally Posted by nigelc
ubuntu has lots and lots of software. You should not need to convert from any other distro.
|
If that was true there wouldn't be ubuntu users trying to learn how to compile from source or install binary packages. "A lot" != "everything".
Being that said, if the package doesn't exist, I agree that it's always better to create one, so the install/uninstall process is clean. If you can't for any reason, better compile from source and leave the source tree so you can do make uninstall.
I've never used alien and only rarely I use rpm2targz to be able to pick some binaries from a file, but when I do so I store them in my home and just tweak the LD_LIBRARY_PATH and be done with that. I don't like to go dropping .so files around that my package manager is not aware of, because they will cause problems and conflicts for sure in the future.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:24 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|