How To Install rhel-system-roles-techpreview on CentOS 7
Introduction
In this tutorial we learn how to install rhel-system-roles-techpreview on CentOS 7.
What is rhel-system-roles-techpreview
Collection of Ansible roles and modules that provide a consistent configuration interface for managing multiple versions of Red Hat Enterprise Linux. The roles in this subpackage are available as Technology Preview and their backward compatibility is not guaranteed.
We can use yum or dnf to install rhel-system-roles-techpreview on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install rhel-system-roles-techpreview.
Install rhel-system-roles-techpreview on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install rhel-system-roles-techpreview using yum by running the following command:
sudo yum -y install rhel-system-roles-techpreview
Install rhel-system-roles-techpreview 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 rhel-system-roles-techpreview using dnf by running the following command:
sudo dnf -y install rhel-system-roles-techpreview
How To Uninstall rhel-system-roles-techpreview on CentOS 7
To uninstall only the rhel-system-roles-techpreview package we can use the following command:
sudo dnf remove rhel-system-roles-techpreview
References
Summary
In this tutorial we learn how to install rhel-system-roles-techpreview on CentOS 7 using yum and dnf.