How To Install convert2rhel on CentOS 7
Introduction
In this tutorial we learn how to install convert2rhel on CentOS 7.
What is convert2rhel
The purpose of the convert2rhel tool is to provide an automated way of converting the installed other-than-RHEL OS distribution to Red Hat Enterprise Linux (RHEL). The tool replaces all the original OS-signed packages with the RHEL ones. Available are conversions of CentOS 6/7 and Oracle Linux 6/7 to the respective major version of RHEL.
We can use yum or dnf to install convert2rhel on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install convert2rhel.
Install convert2rhel on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install convert2rhel using yum by running the following command:
sudo yum -y install convert2rhel
Install convert2rhel 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 convert2rhel using dnf by running the following command:
sudo dnf -y install convert2rhel
How To Uninstall convert2rhel on CentOS 7
To uninstall only the convert2rhel package we can use the following command:
sudo dnf remove convert2rhel
References
Summary
In this tutorial we learn how to install convert2rhel on CentOS 7 using yum and dnf.