How To Install centos-release-xen on CentOS 7
Introduction
In this tutorial we learn how to install centos-release-xen
on CentOS 7.
What is centos-release-xen
yum configs and scripts to allow easy installation of Xen on CentOS. NOTE This package may change major versions of Xen automatically on yum update. If this is not the behavior you want, please install the sub-package specific to the version of xen you want to use and then remove this package. (At the moment this are centos-release-xen-410 or centos-release-xen-412 or centos-release-xen-413 or centos-release-xen-414).
We can use yum
or dnf
to install centos-release-xen
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install centos-release-xen.
Install centos-release-xen on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install centos-release-xen
using yum
by running the following command:
sudo yum -y install centos-release-xen
Install centos-release-xen on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
sudo dnf makecache
After updating yum database, We can install centos-release-xen
using dnf
by running the following command:
sudo dnf -y install centos-release-xen
How To Uninstall centos-release-xen on CentOS 7
To uninstall only the centos-release-xen
package we can use the following command:
sudo dnf remove centos-release-xen
References
Summary
In this tutorial we learn how to install centos-release-xen
on CentOS 7 using yum
and dnf
.