LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-08-2005, 09:10 AM   #1
yekrahs
Member
 
Registered: Aug 2005
Location: England
Distribution: SUSE 10.0, LiMP (Linux Multimedia Player)
Posts: 86

Rep: Reputation: 15
Can I use rpm's from other distros?


I've just migrated from Fedora---> got thoroughly sick of its sound bugs.

Though I am pleased with SUSE, I have noticed that unfortunately there are significantly fewer packages available for it, and I avoid compiling whenever I can.

However, I was once on a website for something where the author of the package said that he had created an rpm on a suse 6.0 machine, but that it would probably work on redhat /fedora systems too.

...Is it safe to try and use packages for other distros generally, without borking my system? And if so, which distro's packages should I use: Fedora / Mandrake / etc.?
 
Old 11-08-2005, 09:24 AM   #2
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
Using YAST to install them will never bork your system(or at least I don't think so and they haven't yet for me), if it doesn't/won't work for your system, it won't install the RPM. So it never hurts to try(In My Experience) but I have not had great luck in general, I am working to find a pattern, but don't really get enough to know.
I have seen a thread or two mentioning possibilities of what takes more often and is "more compatible" but I don't really know for sure.
 
Old 11-08-2005, 09:42 AM   #3
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
I usually advise against using packages not created for your distribution.
In the case of SuSe, I strongly advise not to use non-SuSe rpms.

Yves.

Last edited by theYinYeti; 11-08-2005 at 09:44 AM.
 
Old 11-08-2005, 10:16 AM   #4
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
I would trust your recommendation more than my meandering experience.

That said, I commonly find almost everything compiled for SuSE. just not some of the kde-look stuff and the occasional rare piece of software.

I would just go through and add as many sources as possible as install sources from the sticky thread at the top of this forum, you will probably found just about everything without leaving yast.
 
Old 11-09-2005, 04:57 AM   #5
yekrahs
Member
 
Registered: Aug 2005
Location: England
Distribution: SUSE 10.0, LiMP (Linux Multimedia Player)
Posts: 86

Original Poster
Rep: Reputation: 15
Thanks

(But why *especially* on SUSE not to use other distro's rpms, by the way, Yves?)

Last edited by yekrahs; 11-09-2005 at 04:59 AM.
 
Old 11-09-2005, 07:20 AM   #6
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
RPM was created by RedHat.
Then a number of other distributions began using the RPM format for their own packages.

Overall, most distributions using the RPM format name their packages and resources (requires / provides) more or less as RedHad would do, split applications roughly the same way, and so on.
It is not an exact fit, but close enough. Besides, most RPM-based distributions have very similar filesystem layouts.

SuSe however, chose a very different way of naming their packages and resources, and they have more than average differences in filesystem layout than other RPM-based distributions, compared to RedHat.

I don't say that SuSe does it the wrong way! Not at all. I only say that they chose their own way, for best or worst.
Indeed, in my experience, it is almost impossible to automatically resolve dependencies as expected, when mixing SuSe RPMs and non-SuSe RPMs.

My experience with SuSe, however, is as old as year 2000! Once in a while, though, I do read a post or two that seem to indicate that SuSe still is "different". I can't be sure, though. Things change.

Yves.
 
Old 11-09-2005, 10:08 PM   #7
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
One major difference between SuSE and other rpm-based distros, is the number of major apps installed in /opt instead of /usr (kde and gnome for example). The SuSE concept of /etc is more convoluted that any other distro I've used. SuSE makes heavy use of scripts not seen in other distros. Then there's the issue of YaST, which won't touch anything installed from command-line unless you remember to run /sbin/SuSEconfig IMMEDIATELY after the installation, before doing anything else.

My recommendation, if you want to install something on SuSE which isn't a SuSE rpm, go with the tarball. Get encap, install it. Then use the epkg utility to install the tarball. Encap has several advantages. The entire package is installed into a folder in /usr/encap. If you want to upgrade that tarball to a newer release/version, encap detects the previous installation and upgrades it. The files in the encap folder are symlinked to the locations a tarball would otherwise install its files. Uninstall is as easy as deleting the folder and its contents, then run something like the symlinks utility to detect and remove dangling symlinks.

So far, encap and stow are the only utilities I'm aware of that handle tarballs this way.

I don't recommend stow because I couldn't get it to work properly. Ymmv.

Last edited by bigrigdriver; 11-09-2005 at 10:10 PM.
 
Old 11-10-2005, 02:58 AM   #8
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
I didn't know about this "encap" thing! It seems to be a lot like my "optpm" (see my linux page on software installation). I'll take a look.
I'd be happy to depreciate my "optpm" in favour of "encap", because then I wouldn't have to maintain my own program LOL
Thanks for the info!

Yves.
 
Old 11-11-2005, 05:20 AM   #9
yekrahs
Member
 
Registered: Aug 2005
Location: England
Distribution: SUSE 10.0, LiMP (Linux Multimedia Player)
Posts: 86

Original Poster
Rep: Reputation: 15
Quote:
My recommendation, if you want to install something on SuSE which isn't a SuSE rpm, go with the tarball. Get encap, install it. Then use the epkg utility to install the tarball. Encap has several advantages.
Encap and optpm sound good, I'll try them.
What is the "epkg" utilituy, may I ask?


Also,
Quote:
(see my linux page on software installation)
can you post the web address / provide a link?

Thankyou
 
Old 11-14-2005, 02:42 AM   #10
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
No I can't, sorry. This would be considered self-promotion, or an advert, or whatever you name it, by LQ rules. Use the WWW link as a starting point:
My site > Computing > Linux > Software/installation.

Yves.

Last edited by theYinYeti; 11-14-2005 at 02:43 AM.
 
  


Reply



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
Are source RPM's and binary RPM's installed the same way? Simon Adebisi Linux - Software 3 06-28-2005 03:45 AM
How do I know which partition my distros are on? (Multi distros) glenn69 Linux - Newbie 3 06-18-2005 02:43 AM
Why are RPM's for different distros incompatible? stefandwebb Linux - Software 13 05-30-2005 10:50 AM
On KDE-centric distros and 686 distros, what you think? mebrelith Linux - Distributions 4 03-23-2005 01:09 PM
Installing distros over distros sunilkgarg Linux - Distributions 8 11-07-2001 02:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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