Skip to main content

Preamble - Why Spaces?

After three years working on immutable distributions and over 10 years of using all three major distributions themselves (Ubuntu, Arch, and Fedora), something became clear. The major distributions are unmatched in their package selection and third party resources. For development work, all three can be used interchangeably with minor quirks and provide a great experience. However, none are optimized for the end user and computers. Ubuntu is stale and lacks hardware enablement for devices released after an LTS version, Arch and Fedora are too bleeding edge and tend to regress on hardware, and Fedora has a strict packaging policy, which prevents it from supporting platforms such as NVIDIA and hardware acceleration.

Moreover, inexperienced users cannot maintain a system with these distributions long term. They install packages from third party repositories, PPAs, COPRs, the AUR, and begin carrying stale configuration. This causes the system to eventually break or not be able to upgrade to new major releases. So they usually churn and reinstall their system once every 6 months or so. To deal with these inefficiencies, community derivatives that layer over those distributions are created, which retain the base packages of the distribution and add their customizations on top. The concept behind these community derivatives is to correct some shortcomings of the base distribution, such as driver support, ease of installation, and maintainance. However, in doing so, they create new compatibility issues with the base distribution that cause problems with development and third party application support. Sometimes, they replace the base distribution updater with homegrown scripts, or they hold back packages weeks to a month, or they do not hold back packages, and their custom package layer drifts causing system instability.

With immutable distributions, we can solve the user experience problem, and Anatase certainly does that. We can ensure that the hardware enablement is always up to date, carries fixes for new devices and all stable community drivers, and hold back problematic GPU driver, firmware, and kernel releases. Further, when shipping a sealed image, debugging issues becomes easier and we can customize the user experience to a higher level, because we do not have to deal with drifting package versions, configuration migration, third party repositories, etc. If it works on my machine, it will work on your machine.

However, these benefits come with a major drawback. The user cannot install packages from any repository and cannot modify the system. The latter part is not a problem if you want a system that works, and if the distribution is well maintained. This is why you installed Anatase in the first place. If you wanted to mess with your system there is a plethora of alternatives. But for development work, the ability to install packages from or on a major distribution is essential. The current solutions for that, whether it is homebrew, or distrobox, or "layering", come with compatibility downsides, affect system stability, and require you to workaround and individually test each application you want to use.

This is why Spaces was created. The idea behind it is simple: you type ubuntu, arch, or fedora in the terminal and you get the real thing, a basic installation of the distribution constructed directly from their repositories without any custom packages or interference by the OS to make your system work better. This means that you can follow the documentation of a third party vendor or installation script for that distribution as is, and have it work exactly the same way. Moreover, instead of trying to deal with the instability caused by your changes to the distribution, whether that is third-party repositories or packages, we embrace it. Go wild, install whatever you want, and break it without worry. spaces create <space> recreates the space while keeping your home configuration, you re-install your packages, and in 20 minutes you are back into developing. New Fedora or Ubuntu LTS release came out? Skip the upgrade, recreate the space, reinstall your packages. You tried to use a repository's instructions with an obscure make install that now is causing update errors? No worries, remake it.

Spaces does all the heavy lifting of integrating with Anatase seamlessly, by providing proxied access to your keyring, system information, and exporting your desktop shortcuts automatically. Applications use your KDE theme, can pause your system from sleeping, expose media controls, have working notifications, save their passwords encrypted based on your system wallet, and your VPNs work. All you need to do is install your IDE and start working the same way you are used to.