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

Last updated: November 26,2024

1. Install "lxd" package

Please follow the steps below to install lxd on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install lxd

2. Uninstall "lxd" package

Here is a brief guide to show you how to uninstall lxd on Debian 12 (Bookworm):

$ sudo apt remove lxd $ sudo apt autoclean && sudo apt autoremove

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

Package: lxd
Version: 5.0.2-5
Installed-Size: 48754
Maintainer: Debian Go Packaging Team
Architecture: amd64
Depends: libacl1 (>= 2.2.23), libc6 (>= 2.34), libcap2 (>= 1:2.10), libdqlite0 (>= 1.11.1), libgcc-s1 (>= 3.3.1), liblxc1 (>= 1:4.0.2), libsqlite3-0 (>= 3.12.0), libudev1 (>= 199), attr, ca-certificates, liblxc-common, lxcfs, lxd-client (= 5.0.2-5), rsync, squashfs-tools, uidmap, xz-utils
Pre-Depends: init-system-helpers (>= 1.54~), adduser
Recommends: apparmor, dnsmasq-base, lxd-agent
Suggests: btrfs-progs, ceph-common, lvm2, zfsutils-linux, lxd-tools, gdisk
Description: Powerful system container and virtual machine manager - daemon
Description-md5: 12271909289551f8083c073a5b1b134c
Homepage: https://github.com/lxc/lxd
Built-Using: go-md2man-v2 (= 2.0.2+ds1-1), gobgp (= 3.10.0-1), golang-1.19 (= 1.19.8-2), golang-blackfriday-v2 (= 2.1.0-1), golang-fsnotify (= 1.6.0-2), golang-github-armon-go-proxyproto (= 0.0~git20190211.68259f7-2), golang-github-canonical-candid (= 1.12.2-1), golang-github-canonical-go-dqlite (= 1.11.5-1), golang-github-davecgh-go-spew (= 1.1.1-3), golang-github-dgryski-go-farm (= 0.0~git20171119.ac7624ea8da3-1.1), golang-github-digitalocean-go-libvirt (= 0.0~git20221122.e3cbf86-1), golang-github-digitalocean-go-qemu (= 0.0~git20221209.f035778-2), golang-github-digitalocean-go-smbios (= 0.0~git20180907.390a4f4-2), golang-github-flosch-pongo2.v4 (= 4.0.2-3), golang-github-fvbommel-sortorder (= 1.0.2-3), golang-github-ghodss-yaml (= 1.0.0+git20220118.d8423dc-2), golang-github-go-macaroon-bakery-macaroon-bakery (= 3.0.1-1), golang-github-go-macaroon-bakery-macaroonpb (= 1.0.0-2), golang-github-golang-protobuf-1-5 (= 1.5.2-3), golang-github-google-renameio (= 2.0.0-2), golang-github-google-uuid (= 1.3.0-1), golang-github-gorilla-mux (= 1.8.0-1), golang-github-gorilla-websocket (= 1.5.0-2), golang-github-gosexy-gettext (= 0~git20130221-2.1), golang-github-hashicorp-hcl (= 1.0.0-1.1), golang-github-j-keck-arping (= 1.0.3-1), golang-github-jaypipes-pcidb (= 1.0.0-1), golang-github-jkeiser-iter (= 0.0~git20200628.c8aa0ae-2), golang-github-jochenvg-go-udev (= 0.0~git20171110.d6b62d5-2), golang-github-json-iterator-go (= 1.1.12-1), golang-github-juju-collections (= 1.0.1-1), golang-github-juju-errors (= 1.0.0-1), golang-github-juju-gomaasapi (= 2.0.0-1), golang-github-juju-loggo (= 1.0.0-1), golang-github-juju-persistent-cookiejar (= 1.0.0-1), golang-github-juju-schema (= 1.0.1-1), golang-github-juju-utils (= 0.0~git20200923.4646bfe-1), golang-github-juju-version (= 2.0.1-1), golang-github-juju-webbrowser (= 1.0.0-2), golang-github-julienschmidt-httprouter (= 1.3.0-2), golang-github-k-sone-critbitgo (= 1.4.0-2), golang-github-kballard-go-shellquote (= 0.0~git20180428.95032a8-2), golang-github-klauspost-compress (= 1.15.12+ds1-3), golang-github-klauspost-cpuid (= 2.2.3-1), golang-github-kr-fs (= 0.1.0-2), golang-github-magiconair-properties (= 1.8.7-1), golang-github-mattn-go-runewidth (= 0.0.14-1), golang-github-mattn-go-sqlite3 (= 1.14.16~ds1-1), golang-github-mdlayher-ndp (= 1.0.0-1), golang-github-mdlayher-netx (= 0.0~git20220422.c711c2f-1), golang-github-mdlayher-socket (= 0.4.0-1), golang-github-mdlayher-vsock (= 1.2.0-1), golang-github-miekg-dns (= 1.1.50-2), golang-github-minio-md5-simd (= 1.1.2-4), golang-github-minio-minio-go-v7 (= 7.0.46-1), golang-github-minio-sha256-simd (= 1.0.0-1), golang-github-mitchellh-go-homedir (= 1.1.0-1), golang-github-mitchellh-mapstructure (= 1.5.0-2), golang-github-modern-go-concurrent (= 1.0.3-1.1), golang-github-modern-go-reflect2 (= 1.0.2-2), golang-github-olekukonko-tablewriter (= 0.0.5-2), golang-github-pborman-uuid (= 1.2.0-2), golang-github-pelletier-go-toml (= 1.9.4-1), golang-github-pkg-errors (= 0.9.1-2), golang-github-pkg-sftp (= 1.13.5-2), golang-github-pkg-xattr (= 0.4.9-1), golang-github-pmezard-go-difflib (= 1.0.0-3), golang-github-rican7-retry (= 0.3.1-2), golang-github-rivo-uniseg (= 0.4.2-1), golang-github-robfig-cron (= 3.0.1-1), golang-github-rogpeppe-fastuuid (= 0.0~git20150106.0.6724a57-2.1), golang-github-rs-xid (= 1.4.0-1), golang-github-spf13-afero (= 1.9.3-1), golang-github-spf13-cast (= 1.5.0-2), golang-github-spf13-cobra (= 1.6.1-1), golang-github-spf13-jwalterweatherman (= 1.1.0+really1.1.0-2), golang-github-spf13-pflag (= 1.0.6~git20210604-d5e0c0615ace-1), golang-github-spf13-viper (= 1.10.1-1), golang-github-subosito-gotenv (= 1.2.0+git20190917.de67a66-3), golang-github-vishvananda-netlink (= 1.1.0.125.gf243826-4), golang-github-vishvananda-netns (= 0.0~git20211101.5004558-1), golang-go.crypto (= 1:0.4.0-1), golang-go4 (= 0.0~git20201209.d4a0794-1), golang-gocapability-dev (= 0.0+git20200815.42c35b4-2), golang-golang-x-net (= 1:0.7.0+dfsg-1), golang-golang-x-sync (= 0.1.0-1), golang-golang-x-sys (= 0.3.0-1), golang-golang-x-term (= 0.3.0-1), golang-golang-x-text (= 0.7.0-1), golang-google-genproto (= 0.0~git20200413.b5235f6-3), golang-google-grpc (= 1.33.3-2), golang-google-protobuf (= 1.28.1-3), golang-gopkg-eapache-channels.v1 (= 1.1.0-2), golang-gopkg-eapache-queue.v1 (= 1.1.0-2), golang-gopkg-errgo.v1 (= 1.0.1-2), golang-gopkg-httprequest.v1 (= 1.2.1-3), golang-gopkg-ini.v1 (= 1.66.2-1), golang-gopkg-juju-environschema.v1 (= 1.0.2-1), golang-gopkg-lxc-go-lxc.v2 (= 0.0+git20220627.ad3d9f7-2), golang-gopkg-macaroon.v2 (= 2.1.0-3), golang-gopkg-mgo.v2 (= 2016.08.01-7), golang-gopkg-retry.v1 (= 1.0.3-2), golang-gopkg-tomb.v2 (= 0.0~git20161208.d5d1b58-3), golang-gopkg-yaml.v3 (= 3.0.1-3), golang-k8s-utils (= 0.0~git20221128.99ec85e-1), golang-logrus (= 1.9.0-1), golang-petname (= 2.11~git20191129.8e5a1ed-2), golang-testify (= 1.8.1-1), golang-yaml.v2 (= 2.4.0-4), gopacket (= 1.1.19-3)
Section: admin
Priority: optional
Filename: pool/main/l/lxd/lxd_5.0.2-5_amd64.deb
Size: 14030152
MD5sum: e8815328f13c6458e0dbe8c004d26c1d
SHA256: e813617346ccd060b256951545066cab58c1ba16f0950b17ce0912af082bba32