Page 1 of 1

RPM packages from other distros

PostPosted: Dec 21st, '22, 15:12
by throwawayaccount
This is going to be a stupid question about a bad idea, so brace yourself, you've been warned.

Mageia, Fedora, openSUSE and many other unrelated distros use .rpm packages. Exactly how dangerous would it be to install a package that was developed for say Fedora on Mageia, assuming that all the dependencies for that package were already installed or at least could be installed from Mageias own repos?

Re: RPM packages from other distros

PostPosted: Dec 21st, '22, 19:11
by sturmvogel

Re: RPM packages from other distros

PostPosted: Dec 21st, '22, 22:07
by doktor5000
throwawayaccount wrote: Exactly how dangerous would it be to install a package that was developed for say Fedora on Mageia, assuming that all the dependencies for that package were already installed or at least could be installed from Mageias own repos?

It is not about that this is "dangerous", but some function may not work if library versions are not the same or some integration might be located in a different path in Fedora compared to Mageia or something.
But apart from that mostly this works just fine, although as you mentioned in some cases you need to take care about dependency resolution, using e.g. urpmi --allow-nodeps as that particular option is not available with e.g. dnf.