How to Install and Uninstall lxc Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 23,2024

1. Install "lxc" package

Please follow the guidelines below to install lxc on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install lxc

2. Uninstall "lxc" package

This is a short guide on how to uninstall lxc on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the lxc package on Ubuntu 20.04 LTS (Focal Fossa)

Package: lxc
Architecture: all
Version: 1:4.0.12-0ubuntu1~20.04.1
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 76
Depends: lxc-utils (>= 1:4.0.12-0ubuntu1~20.04.1)
Filename: pool/universe/l/lxc/lxc_4.0.12-0ubuntu1~20.04.1_all.deb
Size: 2972
MD5sum: 9b9293336e86252067f976e729196387
SHA1: 1e605bb8d5cbfecdd4388c8d7bd1f707c40cb22f
SHA256: 3f4f8f415c544b9630b8417dfc1fb3ab1b92c210dc97b5cdc076825164e2d56b
SHA512: 2fc8cc2fde2b2395f2806f1b14899d6efd1591f15bb890ce91ebde2f19359f53dc5df346a2bff31d2032705f56f23190fd28f6fcb07a7224f15b409bb1d9506f
Homepage: https://linuxcontainers.org
Description: Transitional package - lxc -> lxc-utils
Description-md5: 8f5ab7156cfdafe3662f916116c20006

Package: lxc
Architecture: all
Version: 1:4.0.2-0ubuntu1
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 74
Depends: lxc-utils (>= 1:4.0.2-0ubuntu1)
Filename: pool/universe/l/lxc/lxc_4.0.2-0ubuntu1_all.deb
Size: 2968
MD5sum: 68a78f1a92f478de9d8c9fd8a896af3c
SHA1: 878ba128acfd7f8ec0ae295bbe6c7ec13f1928f2
SHA256: b54abab8eb79d19c0b2b041fc8d69f161add90ea62098f6eb2a03ee0efeb7437
Homepage: https://linuxcontainers.org
Description: Transitional package - lxc -> lxc-utils
Description-md5: 8f5ab7156cfdafe3662f916116c20006