How to Install and Uninstall lxc Package on Debian 11 (Bullseye)

Last updated: May 16,2024

1. Install "lxc" package

Learn how to install lxc on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install lxc

2. Uninstall "lxc" package

Please follow the step by step instructions below to uninstall lxc on Debian 11 (Bullseye):

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

3. Information about the lxc package on Debian 11 (Bullseye)

Package: lxc
Version: 1:4.0.6-2+deb11u1
Installed-Size: 18971
Maintainer: pkg-lxc
Architecture: amd64
Depends: liblxc1 (= 1:4.0.6-2+deb11u1), debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.27), libcap2 (>= 1:2.10), libgcc-s1 (>= 3.3.1), libseccomp2 (>= 2.5.0), libselinux1 (>= 3.1~), lsb-base (>= 3.0-6), bridge-utils, dnsmasq-base, iptables, iproute2
Recommends: apparmor, debootstrap, dirmngr, gnupg, libpam-cgfs, lxcfs (>= 3.0.2-1), lxc-templates (>= 3.0.2-1), 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_4.0.6-2+deb11u1_amd64.deb
Size: 2010296
MD5sum: 2728706a5ab6ba5c8c2c140692ba453c
SHA256: dde383e3667fb933695ac099d6e38a530f7f542f54a5dedfebdb98fc33eb9f25