This is why we invented distributions (Linux and friends): one package manager, common practices and shared code, to avoid everybody doing its own (sometime broken) thing
And now we also have flatpak, snap, etc. on top ofnthe "one package manager"