Introduction to image-based Linux distributions from Fedora and Universal Blue¶
"Image-based," in the context of Linux distributions, means that the operating system is packaged as an image and everything added by the user is considered a separate layer. In image-based distributions, the root filesystem is mounted as read-only while the OS is booted. This means that all the changes to the base system are only applied after a reboot. Fedora uses
git for the filesystem) for its atomic filesystem updates and
rpm-ostree (specialized equivalent of Fedora's
dnf) for the image and package management system.
What does Universal Blue do?¶
The Universal Blue project builds light-touch images of the image-based Fedora variants with quality-of-life additions that don't diverge too much from the base of Fedora. Read more about our goals on the Scope page.. Additionally, the project works on more opinionated images such as Bluefin and Bazzite, and develops related utilities such as yafti for first-boot setup and fleek for managing your home directory with Nix.
We also provide tools for users to build their own image using our templates and processes, which can be used to ship some light configuration to all of your machines, or finally make the Linux distribution you've long wished for, but never had the tools to create. Read more about creating your own image here..
All of Universal Blue rests on the idea of cloud-native. We leverage standard cloud tools like the OCI standard and the GitHub Container Registry to build our images. This is a much lighter and faster way of building and deploying Linux environments to users that allows professionals in the industry to leverage their pre-existing knowledge to create a better desktop Linux experience.
Best practices when using an image-based Linux distribution differ from more traditional Linux environments. For example, installing software is typically done in a container or a different method rather than using the system package manager. Read more about other ways of installing software here.
Most documentation around "how do I do XYZ in Fedora/Linux" will not apply. Instead, you can do things such as running a web-server with
podman and containers. And for setting up development or installing software not available as Flatpaks you should use some encapsulated user-space environment such as a toolbox or devbox.
You should familiarize yourself with the documentation of Universal Blue and related projects:
You can always ask for help from our Community (see sidebar).
Read-only and writable directories¶
Image-based Fedora variants follow the Filesystem Hierarchy Standard while mounting some directories as read-only and symlinking some from their actual location to their FHS-compatible location.
/usr/ is read-only when booted while
/etc/ are writable. Everything in
/var/ is locally managed and cannot be directly changed by images. Certain directories in the root directory are symlinked to either
/var/, for example,
/home/ is symlinked to
/usr/local/ is writable and files can be added, and system configuration modified there.