How to Install and Uninstall lxc Package on Debian 12 (Bookworm)
Last updated: November 22,2024
Notice
You can also install and uninstall the lxc on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "lxc" package
Learn how to install lxc on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
lxc
Copied
2. Uninstall "lxc" package
This guide covers the steps necessary to uninstall lxc on Debian 12 (Bookworm):
$
sudo apt remove
lxc
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
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
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