Are RPMs usables from vendor to vendor ?

Are RPMs usables from vendor to vendor ?

Post by Carlo » Mon, 28 Apr 2003 02:51:40



I wonder if the RPMs found in rpmfind.net, for example, which are shown to
be for a particular instalation, say Mandrake, or Conectiva, if these are
usable by other instalations like Red Hat 8.0 (which I have).

Thanks

Carlos

 
 
 

Are RPMs usables from vendor to vendor ?

Post by Rex Diete » Mon, 28 Apr 2003 03:41:55



Quote:> I wonder if the RPMs found in rpmfind.net, for example, which are shown to
> be for a particular instalation, say Mandrake, or Conectiva, if these are
> usable by other instalations like Red Hat 8.0 (which I have).

In general, no.  Most rpms are distro-specific.

-- Rex

 
 
 

Are RPMs usables from vendor to vendor ?

Post by Nico Kadel-Garci » Mon, 28 Apr 2003 03:57:45



> I wonder if the RPMs found in rpmfind.net, for example, which are shown to
> be for a particular instalation, say Mandrake, or Conectiva, if these are
> usable by other instalations like Red Hat 8.0 (which I have).

> Thanks

> Carlos

They often require recompilation from SRPM and modification of the .spec
files. Different distributions call the same software different things,
such as "gd" vs. "libgd", and may not include components that are
automatically part of the other (such as the "radius" software for
compiling nagios-plugins). Even the RPM specfile command sets may be
different. "%make" from Mandrake, or the "idgroups" command?
 
 
 

Are RPMs usables from vendor to vendor ?

Post by Rod Smi » Mon, 28 Apr 2003 09:54:01




Quote:> I wonder if the RPMs found in rpmfind.net, for example, which are shown to
> be for a particular instalation, say Mandrake, or Conectiva, if these are
> usable by other instalations like Red Hat 8.0 (which I have).

Yes, but with some major caveats. Most importantly, most RPMs are built
assuming particular support library versions. If your distribution has
different (particularly older) support libraries, chances are a binary
RPM won't work. You can often (but not always) work around this problem
by obtaining the source RPM and recompiling it on your system. (Use "rpm
--rebuild file-version.src.rpm" or replace "rpm" with "rpmbuild" on some
systems. The rebuilt RPM should then appear somewhere in the /usr/src
directory, in an RPM directory tree.) Sometimes an RPM will have a
dependency to a package of a particular name, but the equivalent
functionality is in another package on your distribution, you'll get a
failed dependencies error. Using "--nodeps" at install time will overcome
this problem, but you should only try this if you're sure the equivalent
functionality is present on your system. If the RPM is for a server,
there may also be server startup issues caused by differing SysV startup
script locations or format, but you can work around those problems by
replacing the startup scripts or starting the server in a local startup
script.

Overall, for non-server programs, I'd guess I have about an 80% success
rate installing binary RPMs across distributions, provided I try binaries
for distributions that are older than the one I'm running. For most of
the rest, rebuilding from a source RPM does the trick. For servers, the
success rate is about the same, except that manually changing the startup
procedure is often required.

--

http://www.rodsbooks.com
Author of books on Linux, FreeBSD, and networking

 
 
 

1. A list of vender name to vender ID mappings -- http://caff.openbeer.it/wireless/mac_list.txt

This list appears to contain vender/ID mapping information
that could be helpful when we are identifying hotplugged
devices.

http://caff.openbeer.it/wireless/mac_list.txt

It correctly identified "00D0F5 == Orange Micro, Inc."
for my Orange Micro iBOT Fireware Webcam.  I cannot
vouch for the other entries.

        Miles

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. PCI IRQ sharing problems with 12 PCI backplane

3. (OT)SOFTWARE VENDOR LICENSE AGREEMENT a Great Read.

4. Buy a computer WITHOUT RedHat

5. ??: Linux Hardware Vendor(s) In Canada?

6. Plea for binary texinfo and newbie's tale of woe...

7. World's second largest vendor of Windows machines chooses NT4 for Web Site

8. LSLPP Command?

9. Wanted - Motif vendors.

10. FORM FOR SCO VENDOR LIST: CHORUS/Fusion for SCO

11. Mail Order Linux Workstation Vendors

12. PC vendors for PCs to run Unix (Linux, Solaris, etc.)

13. PCI Vendor/Device IDs and Solaris