I am running version 22.04.01 of Ubuntu and I installed LDX using the apt with the lxd-installer package.

How do I completely remove LXD from my system?

1 Answer 1


LXD is installed as a snap. To remove it, run:

sudo snap remove --purge lxd

Afterwards, you can remove the lxd-installer helper package:

sudo apt remove --purge lxd-installer

The --purge option in both commands ensures complete removal of everything, including configuration files etc.

  • 1
    I'd add --purge to the snap remove to "completely" remove it.
    – popey
    May 30 at 17:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .