How to Install and Uninstall lxc Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 16,2024

1. Install "lxc" package

This guide covers the steps necessary to install lxc on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install lxc

2. Uninstall "lxc" package

Please follow the guidance below to uninstall lxc on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the lxc package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: lxc
Architecture: all
Version: 3.0.3-0ubuntu1~16.04.1
Priority: optional
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 72
Depends: lxc-utils (>= 3.0.3-0ubuntu1~16.04.1)
Filename: pool/main/l/lxc/lxc_3.0.3-0ubuntu1~16.04.1_all.deb
Size: 2892
MD5sum: 8775b868416369cb9dc6caec36c59f06
SHA1: be7f4d9461a27b21cb6dfc742a99566831294095
SHA256: 32ea67a0db3be27bd029a33158d1f10fca81f01ce0254a99dd83ec2513996836
SHA512: 85975ed4770b3534f1d14d5c6f0d2acb14cf33eb0c5fe45e408a5b1c873730c49e68d9e59a382b023201332d1b3a30f620cdb5205e446c638ac1adb463a498fe
Homepage: https://linuxcontainers.org
Description-en: Transitional package - lxc -> lxc-utils
This is a transitional dummy package. It can safely be removed.
.
lxc is now replaced by lxc-utils.
Description-md5: 8f5ab7156cfdafe3662f916116c20006
Task: ubuntu-touch
Supported: 5y

Package: lxc
Architecture: all
Version: 2.0.11-0ubuntu1~16.04.3
Priority: optional
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 62
Depends: lxc1 (>= 2.0.11-0ubuntu1~16.04.3)
Filename: pool/main/l/lxc/lxc_2.0.11-0ubuntu1~16.04.3_all.deb
Size: 2954
MD5sum: a5d2a0d2e3b853dbb5a481d6c129da43
SHA1: 9a11bf6c090c74e7266c186a2667829cc03eaa7e
SHA256: a920fa133893393c10ba2fe4d9fccae9e79d94f3a8b4041f3e8a7ab1ad231f5e
SHA512: 819ae8143260a23aa510a32050a788885a92b75f62df80ebfc29ade2ddd750df195f310274823827710b7739f7663f491d5190c0a8e432790e6473554707db2c
Homepage: https://linuxcontainers.org
Description-en: Transitional package for lxc1
This is a transitional dummy package. It can safely be removed.
.
The currently recommended LXC experience is available as lxc2 and is
provided by LXD using the LXC backend.
Description-md5: 8067647e29acc4eb5568eaa59cd81496
Task: ubuntu-touch
Supported: 5y

Package: lxc
Architecture: all
Version: 2.0.7-0ubuntu1~16.04.2
Priority: optional
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 60
Depends: lxc1 (>= 2.0.7-0ubuntu1~16.04.2)
Filename: pool/main/l/lxc/lxc_2.0.7-0ubuntu1~16.04.2_all.deb
Size: 2956
MD5sum: 04df2ee1088c8bffe1dd07984343b97b
SHA1: 6d98d0cecff332ca044d47e28b0165df56177c20
SHA256: 9f3e63513d3161e910501b2f85238096f92ff7f9514c131ff3c76af8ff55c27a
SHA512: 353e81c0be22ab6407116e70958b8e7cb71d1d045d6e3d37bd9412ff244c0be7b8f9e58dca399e2836bee063c09de90490287aa80301d81c0158b13b912990d6
Homepage: https://linuxcontainers.org
Description-en: Transitional package for lxc1
This is a transitional dummy package. It can safely be removed.
.
The currently recommended LXC experience is available as lxc2 and is
provided by LXD using the LXC backend.
Description-md5: 8067647e29acc4eb5568eaa59cd81496
Task: ubuntu-touch
Supported: 5y

Package: lxc
Priority: optional
Section: admin
Installed-Size: 55
Maintainer: Ubuntu Developers
Architecture: all
Version: 2.0.0-0ubuntu2
Depends: lxc1
Filename: pool/main/l/lxc/lxc_2.0.0-0ubuntu2_all.deb
Size: 3082
MD5sum: ebc15a6491d1619419b19c6dc6b11719
SHA1: 26e9f298babb547767042db59f6f02b1eb028eb3
SHA256: f39bde7e9f3c75184f1f601f3718df5e14dad1c509a70e15d50a5d3fecfc5676
Description-en: Transitional package for lxc1
This is a transitional dummy package. It can safely be removed.
.
The currently recommened LXC experience is available as lxc2 and is
provided by LXD using the LXC backend.
Description-md5: f81e02dd2397e81f1e1a4b5b3886ed4c
Homepage: https://linuxcontainers.org
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntu-touch