Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
OSTree
A system for versioning updates of Linux-based operating systems
  • Free and open-source software portal
  • Linux portal

libostree (previously OSTree) is a system for versioning updates of Linux-based operating systems. It can be considered "Git for operating system binaries". It operates in userspace, and will work on top of any Linux file system. At its core is a Git-like content-addressed object store with branches (or "refs") to track meaningful file system trees within the store.

We don't have any images related to OSTree yet.
We don't have any YouTube videos related to OSTree yet.
We don't have any PDF documents related to OSTree yet.
We don't have any Books related to OSTree yet.
We don't have any archived web articles related to OSTree yet.

Features

OSTree is closely inspired by Git. It operates on commits which refer to filesystem trees. To refer to different commits while maintaining a user-readable name, OSTree provides "references" (analogous to branches in Git), such as exampleos/buildmain/x86_64-runtime.

Files provided by commits are by default immutable, done by mounting the filesystem itself as read-only. OSTree allows for two mutable directories for storing user data: /etc and /var. It provides a mechanism to allow filesystem trees to add configuration files to /etc while also allowing system administrators to edit those files in a persistent manner.

OSTree provides bootloader management for hardware deployments. This enables atomic updates, as OSTree can create deployments and atomically insert them into the boot partition. It also allows for systemwide rollback by selecting old deployments during startup.

Usage

libostree is used by various Linux operating systems and tools:

  • Red Hat In-Vehicle Operating System is a derivative of CentOS Automotive Stream Distribution that uses OSTree
  • endless OS through eos-updater.2
  • Flatpak, used to store applications and runtimes and to provide deduplication.3
  • Fedora's atomic spins (Silverblue, Kinoite, Budgie Atomic, and Sway Atomic) through rpm-ostree4
  • Atomic Host
  • The GNOME continuous project for continuous delivery of GNOME components.5
  • Torizon OS embedded Linux uses libostree with the Uptane Frameworks for OS Updates.6

 This article incorporates text available under the CC BY 3.0 license.

References

  1. "ostree documentation". https://ostreedev.github.io/ostree/

  2. eos-updater, Endless OS Foundation, 2023-03-30, retrieved 2023-05-17 https://github.com/endlessm/eos-updater

  3. "Under the Hood — Flatpak documentation". docs.flatpak.org. Retrieved 2023-05-17. https://docs.flatpak.org/en/latest/under-the-hood.html

  4. "Fedora Silverblue User Guide". Fedora Docs. Retrieved 2023-05-17. https://docs.fedoraproject.org/en-US/fedora-silverblue/

  5. "Gnome Continuous". Retrieved 25 January 2018. https://wiki.gnome.org/Projects/GnomeContinuous

  6. "Torizon OS". Toradex. 11 October 2023. https://developer.toradex.com/torizon/in-depth/ostree/