How To Install centos-release-xen-410 on CentOS 7

In this tutorial we learn how to install centos-release-xen-410 on CentOS 7. centos-release-xen-410 is CentOS Virt Sig Xen repo configs for Xen 4.10

Introduction

In this tutorial we learn how to install centos-release-xen-410 on CentOS 7.

What is centos-release-xen-410

yum configs and scripts to allow easy installation of Xen 4.10 on CentOS. Multiple versions of centos-release-xen-NNN can be installed at the same time; by default yum will choose the latest version of xen available across all repositories. This package will not update automatically to newer Xen releases; if you don’t have centos-release-xen installed, you will have to manually install the newer version of centos-release-xen-NNN to get the newer version. If this is not the behavior you want, please install the generic package (centos-release-xen).

We can use yum or dnf to install centos-release-xen-410 on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install centos-release-xen-410.

Install centos-release-xen-410 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-410 using yum by running the following command:

sudo yum -y install centos-release-xen-410

Install centos-release-xen-410 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-410 using dnf by running the following command:

sudo dnf -y install centos-release-xen-410

How To Uninstall centos-release-xen-410 on CentOS 7

To uninstall only the centos-release-xen-410 package we can use the following command:

sudo dnf remove centos-release-xen-410

References

Summary

In this tutorial we learn how to install centos-release-xen-410 on CentOS 7 using yum and dnf.