LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

systemd-sysext

Manage system extension images

TLDR

Show current merge status
$ systemd-sysext status
copy
List installed extension images
$ systemd-sysext list
copy
Merge extensions into /usr and /opt
$ systemd-sysext merge
copy
Unmerge all extensions
$ systemd-sysext unmerge
copy
Refresh (unmerge then merge)
$ systemd-sysext refresh
copy
Merge ignoring version compatibility checks
$ systemd-sysext merge --force
copy

SYNOPSIS

systemd-sysext [OPTIONS] COMMAND

DESCRIPTION

systemd-sysext manages system extension images that overlay files onto `/usr/` and `/opt/`. Extensions are read-only images (DDI format) that add software to the base system without modifying the root filesystem.Extensions are stored in `/var/lib/extensions/` or `/run/extensions/` and are merged using overlayfs.

PARAMETERS

--root= PATH

Operate relative to the specified root directory.
--force
Ignore version incompatibilities when merging.
--mutable= MODE
Set mutability mode (disabled, auto, yes, import, ephemeral, ephemeral-import).
--no-reload
Do not reload daemon after merge, unmerge, or refresh.
--no-pager
Do not pipe output into a pager.
--no-legend
Do not print column headers and footer hints.
--json= MODE
Output as JSON (short, pretty, or off).

COMMANDS

status

Show current merge status. Default when invoked without a command.
list
List installed extension images.
merge
Overlay extension images onto /usr and /opt using overlayfs.
unmerge
Remove extension overlays.
refresh
Unmerge then merge (reload extensions after installing or removing images).

INSTALL

sudo apt install systemd
copy
sudo dnf install systemd
copy
sudo pacman -S systemd
copy
sudo zypper install systemd
copy
brew install systemd
copy
nix profile install nixpkgs#systemd
copy

CAVEATS

Extensions must match the host OS version. The base /usr must be immutable or read-only for overlay to work. Changes require refresh to take effect.

HISTORY

systemd-sysext enables modular system composition, supporting immutable base images with layered extensions for additional software.

SEE ALSO

Copied to clipboard
Kai