Not just one package

If all distros would use one packaging format, then there would still be packages for specific distros. Different file structure, library and dependency versions, coreutils… It would be easier with one package format, but there would still be many packages, including all the CPU architectures.

It’s not the file extension that prevents you from installing any package on any system. Sometimes you can convert package formats but it doesn’t magically work for everything unless it’s a portable version with all dependencies.

If you want to build only one binary for all, i have a solution for you. Just use Java. Linux, BSD, Windows, Mac, all architectures, one package.

Even with electron and flutter you still build for all platforms and architectures that you want to support. I don’t know how can some people not understand it. Windows is more convenient because it’s not usable. Also, there are 15 different ways to install software on windows, but you forget about it.

Related
Tech