How to Install and Uninstall lxc Package on Debian 12 (Bookworm)

Last updated: May 16,2024

1. Install "lxc" package

Learn how to install lxc on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install lxc

2. Uninstall "lxc" package

This guide covers the steps necessary to uninstall lxc on Debian 12 (Bookworm):

$ sudo apt remove lxc $ sudo apt autoclean && sudo apt autoremove

3. Information about the lxc package on Debian 12 (Bookworm)

Package: lxc
Version: 1:5.0.2-1+deb12u2
Installed-Size: 25647
Maintainer: pkg-lxc
Architecture: amd64
Depends: dnsmasq-base, iproute2, liblxc-common (= 1:5.0.2-1+deb12u2), lsb-base, nftables | iptables, debconf (>= 0.5) | debconf-2.0, libapparmor1 (>= 2.6~devel), libc6 (>= 2.36), libcap2 (>= 1:2.10), libgcc-s1 (>= 3.3.1), liblxc1 (>= 1:3.0.2), libseccomp2 (>= 2.5.0), libselinux1 (>= 3.1~)
Recommends: apparmor, debootstrap, dirmngr, gnupg, libpam-cgfs, lxc-templates, lxcfs, openssl, rsync, uidmap, wget
Suggests: btrfs-progs, lvm2, python3-lxc
Description: Linux Containers userspace tools
Description-md5: 4ece0dffd153c29e95ffdb89f8238dfc
Homepage: https://linuxcontainers.org/
Tag: admin::virtualization, implemented-in::c, implemented-in::python,
interface::commandline, role::program, scope::application,
suite::openstack, system::cloud, system::virtual
Section: admin
Priority: optional
Filename: pool/main/l/lxc/lxc_5.0.2-1+deb12u2_amd64.deb
Size: 2751392
MD5sum: 0c6aac4ddb468e762d8cd01af3a0fb23
SHA256: ab4dd70701fe0b1e2af6f625ca1b4f55153b995d20c73a7751256950140ea834