Lots of actual businesses use RHEL and even centos (including the company I work for, which uses centos 7 even for production), and by extension using rpm. Our local laptops are Ubuntu (and we use docker to do local dev, with a centos-based image obv). BTW I never got the civil war between rpm and deb. As a person coming from Windows, I 'd expect each distribution's native package manager to be able to use either, much like Windows can work with both wmv and mp4. I guess it's a deeper problem, having to cho
They have separate databases (unlike Windows, Linux package managers actually track all the files they 'own').
More importantly, packages all have to work together because they know what other packages and versions of packages and versions of libraries they depend on. So RPMs from Fedora will likely not install on CentOS, etc. Installing a deb would be 'good luck with that' even if you had a version of dpkg that used rpm or dnf's database.
So, the answer is: You can convert between Deb and RPM, but the repos that the dependencies expect aren't the same. So it's not about the file format, but the repos (totally not a walled garden btw).
Flatpak and snaps are OK, but they are pretty much limited to their own universes, be it RHEL or Debian/Ubuntu.
I have found AppImage works well, regardless the distro in use, and isn't tied to the cloud either. Just run it and call it done. Downside of AppImage is that the docs for building packages under it are tough, and the learning curve to build something with it is very steep, compared to snaps or flatpaks.
Holy crap, people still use those distros? (Score:-1)
Who the hell still uses a Redhat packaging distro in 2020. Crazy people.
Re: (Score:2)
Re: (Score:2)
They have separate databases (unlike Windows, Linux package managers actually track all the files they 'own').
More importantly, packages all have to work together because they know what other packages and versions of packages and versions of libraries they depend on. So RPMs from Fedora will likely not install on CentOS, etc. Installing a deb would be 'good luck with that' even if you had a version of dpkg that used rpm or dnf's database.
Re: (Score:2)
Re:Holy crap, people still use those distros? (Score:2)
Which is why flatpak makes sense.
Re: (Score:2)
Flatpak and snaps are OK, but they are pretty much limited to their own universes, be it RHEL or Debian/Ubuntu.
I have found AppImage works well, regardless the distro in use, and isn't tied to the cloud either. Just run it and call it done. Downside of AppImage is that the docs for building packages under it are tough, and the learning curve to build something with it is very steep, compared to snaps or flatpaks.