Installing LXC and libvirt drivers from packages - nova-dev-team/nova GitHub Wiki

On RHEL / CentOS :

# download EPEL package
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# with ROOT
# installs EPEL package first
rpm -ivh epel-release-latest-7.noarch.rpm
# installs lxc and templates
yum install lxc lxc-templates lxc-libs
# installs libvirt drivers
yum install libvirt-daemon-driver-lxc libvirt-daemon-lxc

On modern Fedora :

# with ROOT
# installs lxc and templates
dnf install lxc lxc-templates lxc-libs
# installs libvirt drivers
dnf install libvirt-daemon-driver-lxc libvirt-daemon-lxc