How to Install and Uninstall systemd-container Package on Debian 12 (Bookworm)

Last updated: January 24,2025

1. Install "systemd-container" package

In this section, we are going to explain the necessary steps to install systemd-container on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install systemd-container

2. Uninstall "systemd-container" package

This guide covers the steps necessary to uninstall systemd-container on Debian 12 (Bookworm):

$ sudo apt remove systemd-container $ sudo apt autoclean && sudo apt autoremove

3. Information about the systemd-container package on Debian 12 (Bookworm)

Package: systemd-container
Source: systemd
Version: 252.22-1~deb12u1
Installed-Size: 1258
Maintainer: Debian systemd Maintainers
Architecture: amd64
Depends: libacl1 (>= 2.2.23), libbz2-1.0, libc6 (>= 2.34), libcurl4 (>= 7.16.3), liblzma5 (>= 5.1.1alpha+20120614), libseccomp2 (>= 2.3.1), libselinux1 (>= 3.1~), libssl3 (>= 3.0.0), libsystemd-shared (= 252.22-1~deb12u1), zlib1g (>= 1:1.1.4), systemd, default-dbus-system-bus | dbus-system-bus
Recommends: libnss-mymachines
Description: systemd container/nspawn tools
Description-md5: 06057fffc2ba14e4be80360a092a18b4
Multi-Arch: foreign
Homepage: https://www.freedesktop.org/wiki/Software/systemd
Tag: admin::virtualization, implemented-in::c, implemented-in::python,
role::program, suite::openstack, system::cloud, system::virtual
Section: admin
Priority: optional
Filename: pool/main/s/systemd/systemd-container_252.22-1~deb12u1_amd64.deb
Size: 413760
MD5sum: c038ce8f44b7b55114796f3bbfb43ec3
SHA256: 2dca5d9c9bbf094ca72528189513e574d1ea3b7a55aaf9ad4ef71244549891db