4 ms·
But the Linux kernel is really the only common thing you can expect across a wide array of distributions. * If you're a GUI app you can also speak X11 with GLX
by Spivak 8y ago
But the Linux kernel is really the only common thing you can expect across a wide array of distributions.
* If you're a GUI app you can also speak X11 with GLX and its up to the user to have something that understands your messages.
* If you want desktop integration you use one of the many dbus protocols and it's up to the user's DE to understand your requests.
* If you distribute through Steam you may also depend on the Steam runtime, but you have to be careful to only depend on what's provided.
* If you distribute through Flatpak or Snap you can also depend on any of the provided runtimes or build your own for maybe easier maintainability. It's essentially 'bundle everything' as a service.
tl;dr depend on protocols and runtimes, not libraries.
Also, nothing is stopping you from building against Ubuntu:latest. It's more cumbersome but Linux users will typically find a way to make your stuff work on other distros.
- AnIdiotOnTheNet 8y ago> Also, nothing is stopping you from building against Ubuntu:latest. It's more cumbersome but Linux users will typically find a way to make your stuff work on other distros. This is not the mentality of anyone who cares about the user experience of the product.