How To Install lxc on Fedora 36
Introduction
In this tutorial we learn how to install lxc
on Fedora 36.
What is lxc
Linux Resource Containers provide process and resource isolation without the overhead of full virtualization.
We can use yum
or dnf
to install lxc
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install lxc.
Install lxc on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install lxc
using dnf
by running the following command:
sudo dnf -y install lxc
Install lxc on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install lxc
using yum
by running the following command:
sudo yum -y install lxc
How To Uninstall lxc on Fedora 36
To uninstall only the lxc
package we can use the following command:
sudo dnf remove lxc
lxc Package Contents on Fedora 36
/usr/bin/lxc-attach
/usr/bin/lxc-cgroup
/usr/bin/lxc-checkconfig
/usr/bin/lxc-checkpoint
/usr/bin/lxc-config
/usr/bin/lxc-console
/usr/bin/lxc-copy
/usr/bin/lxc-create
/usr/bin/lxc-destroy
/usr/bin/lxc-device
/usr/bin/lxc-execute
/usr/bin/lxc-freeze
/usr/bin/lxc-info
/usr/bin/lxc-ls
/usr/bin/lxc-monitor
/usr/bin/lxc-snapshot
/usr/bin/lxc-start
/usr/bin/lxc-stop
/usr/bin/lxc-top
/usr/bin/lxc-unfreeze
/usr/bin/lxc-unshare
/usr/bin/lxc-update-config
/usr/bin/lxc-usernsexec
/usr/bin/lxc-wait
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/69c17e49cf797d3a9c11ff8fd4ef30abe7df43
/usr/lib/.build-id/02
/usr/lib/.build-id/02/bb4d096eb233ebb279f9a10ba9a2935b73d091
/usr/lib/.build-id/08
/usr/lib/.build-id/08/5c29a83a1a5afe1e053ee3fa02075fea1ea152
/usr/lib/.build-id/13
/usr/lib/.build-id/13/5074470ac1c3fcced0f6648d7fbbf75826b288
/usr/lib/.build-id/18
/usr/lib/.build-id/18/aa31e1a631f08310c974fef70926476caa4fca
/usr/lib/.build-id/22
/usr/lib/.build-id/22/583ec715ad1cf7ae3a6246581c17a9f7397e96
/usr/lib/.build-id/24
/usr/lib/.build-id/24/cba8bd186b7f8c389eed53a724aea8833cd713
/usr/lib/.build-id/35
/usr/lib/.build-id/35/ab32fdb742f49b5f80163655cd16fb65331fc4
/usr/lib/.build-id/44
/usr/lib/.build-id/44/ea2a8b4cc997831e7b255c77ee0dbab3380e47
/usr/lib/.build-id/49
/usr/lib/.build-id/49/bf1b40748e20ba021121a3370ee95c68eef67c
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/f6c366bff2c951e4dce1b1d8bdda7e4c5bcb95
/usr/lib/.build-id/69
/usr/lib/.build-id/69/b9cb0e6a6ec50e8b00b78d18c58f551997520b
/usr/lib/.build-id/72
/usr/lib/.build-id/72/0201b3712b3e6493a6492a5dc089daef0ae49b
/usr/lib/.build-id/74
/usr/lib/.build-id/74/9bc76246121242dc3e466d29dc86ba81de0c46
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/00985c28a43c5599c0bfe1b42f7e6434c3a16f
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/3c16c3884629321694a69e0b692f23adbc1c5e
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/ce21abb13978bd8fab15d2edf509ad51b61ace
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/2574ba24b53a7bcb33a42526537b824aa584e0
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/9c3d6f47c0c3ffb6d0fe8ee3d6979ada1a3c9b
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/fa7a82339cb939bd6b9e5a181c9c7f802a018d
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/07e1183d6399b1525c18b91a6129fe63dc3c2e
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/0999e82bdfdaef04608dde8cd63d8f7c01809b
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/173cefcbcda24c8020ad1b5ab9fa90257a5a56
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/lxc
/usr/share/lxc/lxc.functions
/usr/share/man/ja/man1/lxc-attach.1.gz
/usr/share/man/ja/man1/lxc-cgroup.1.gz
/usr/share/man/ja/man1/lxc-checkconfig.1.gz
/usr/share/man/ja/man1/lxc-checkpoint.1.gz
/usr/share/man/ja/man1/lxc-config.1.gz
/usr/share/man/ja/man1/lxc-console.1.gz
/usr/share/man/ja/man1/lxc-copy.1.gz
/usr/share/man/ja/man1/lxc-create.1.gz
/usr/share/man/ja/man1/lxc-destroy.1.gz
/usr/share/man/ja/man1/lxc-device.1.gz
/usr/share/man/ja/man1/lxc-execute.1.gz
/usr/share/man/ja/man1/lxc-freeze.1.gz
/usr/share/man/ja/man1/lxc-info.1.gz
/usr/share/man/ja/man1/lxc-ls.1.gz
/usr/share/man/ja/man1/lxc-monitor.1.gz
/usr/share/man/ja/man1/lxc-snapshot.1.gz
/usr/share/man/ja/man1/lxc-start.1.gz
/usr/share/man/ja/man1/lxc-stop.1.gz
/usr/share/man/ja/man1/lxc-top.1.gz
/usr/share/man/ja/man1/lxc-unfreeze.1.gz
/usr/share/man/ja/man1/lxc-unshare.1.gz
/usr/share/man/ja/man1/lxc-update-config.1.gz
/usr/share/man/ja/man1/lxc-usernsexec.1.gz
/usr/share/man/ja/man1/lxc-wait.1.gz
/usr/share/man/ko/man1/lxc-attach.1.gz
/usr/share/man/ko/man1/lxc-cgroup.1.gz
/usr/share/man/ko/man1/lxc-checkconfig.1.gz
/usr/share/man/ko/man1/lxc-checkpoint.1.gz
/usr/share/man/ko/man1/lxc-config.1.gz
/usr/share/man/ko/man1/lxc-console.1.gz
/usr/share/man/ko/man1/lxc-copy.1.gz
/usr/share/man/ko/man1/lxc-create.1.gz
/usr/share/man/ko/man1/lxc-destroy.1.gz
/usr/share/man/ko/man1/lxc-device.1.gz
/usr/share/man/ko/man1/lxc-execute.1.gz
/usr/share/man/ko/man1/lxc-freeze.1.gz
/usr/share/man/ko/man1/lxc-info.1.gz
/usr/share/man/ko/man1/lxc-ls.1.gz
/usr/share/man/ko/man1/lxc-monitor.1.gz
/usr/share/man/ko/man1/lxc-snapshot.1.gz
/usr/share/man/ko/man1/lxc-start.1.gz
/usr/share/man/ko/man1/lxc-stop.1.gz
/usr/share/man/ko/man1/lxc-top.1.gz
/usr/share/man/ko/man1/lxc-unfreeze.1.gz
/usr/share/man/ko/man1/lxc-unshare.1.gz
/usr/share/man/ko/man1/lxc-usernsexec.1.gz
/usr/share/man/ko/man1/lxc-wait.1.gz
/usr/share/man/man1/lxc-attach.1.gz
/usr/share/man/man1/lxc-cgroup.1.gz
/usr/share/man/man1/lxc-checkconfig.1.gz
/usr/share/man/man1/lxc-checkpoint.1.gz
/usr/share/man/man1/lxc-config.1.gz
/usr/share/man/man1/lxc-console.1.gz
/usr/share/man/man1/lxc-copy.1.gz
/usr/share/man/man1/lxc-create.1.gz
/usr/share/man/man1/lxc-destroy.1.gz
/usr/share/man/man1/lxc-device.1.gz
/usr/share/man/man1/lxc-execute.1.gz
/usr/share/man/man1/lxc-freeze.1.gz
/usr/share/man/man1/lxc-info.1.gz
/usr/share/man/man1/lxc-ls.1.gz
/usr/share/man/man1/lxc-monitor.1.gz
/usr/share/man/man1/lxc-snapshot.1.gz
/usr/share/man/man1/lxc-start.1.gz
/usr/share/man/man1/lxc-stop.1.gz
/usr/share/man/man1/lxc-top.1.gz
/usr/share/man/man1/lxc-unfreeze.1.gz
/usr/share/man/man1/lxc-unshare.1.gz
/usr/share/man/man1/lxc-update-config.1.gz
/usr/share/man/man1/lxc-usernsexec.1.gz
/usr/share/man/man1/lxc-wait.1.gz
References
Summary
In this tutorial we learn how to install lxc
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).