How To Install convert2rhel on CentOS 8
Introduction
In this tutorial we learn how to install convert2rhel
on CentOS 8.
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 8. In this tutorial we discuss both methods but you only need to choose one of method to install convert2rhel.
Install convert2rhel on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install convert2rhel
using dnf
by running the following command:
sudo dnf -y install convert2rhel
Install convert2rhel on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install convert2rhel
using yum
by running the following command:
sudo yum -y install convert2rhel
How To Uninstall convert2rhel on CentOS 8
To uninstall only the convert2rhel
package we can use the following command:
sudo dnf remove convert2rhel
convert2rhel Package Contents on CentOS 8
/usr/bin/convert2rhel
/usr/lib/python3.6/site-packages/convert2rhel
/usr/lib/python3.6/site-packages/convert2rhel-0.13-py3.6.egg-info
/usr/lib/python3.6/site-packages/convert2rhel-0.13-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/convert2rhel-0.13-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/convert2rhel-0.13-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/convert2rhel-0.13-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/convert2rhel-0.13-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/convert2rhel/__init__.py
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/logger.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/logger.cpython-36.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/main.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/main.cpython-36.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/pkghandler.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/pkghandler.cpython-36.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/pkgmanager.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/pkgmanager.cpython-36.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/redhatrelease.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/redhatrelease.cpython-36.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/repo.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/repo.cpython-36.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/rhelvariant.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/rhelvariant.cpython-36.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/subscription.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/subscription.cpython-36.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/systeminfo.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/systeminfo.cpython-36.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/toolopts.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/toolopts.cpython-36.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/convert2rhel/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/convert2rhel/logger.py
/usr/lib/python3.6/site-packages/convert2rhel/main.py
/usr/lib/python3.6/site-packages/convert2rhel/pkghandler.py
/usr/lib/python3.6/site-packages/convert2rhel/pkgmanager.py
/usr/lib/python3.6/site-packages/convert2rhel/redhatrelease.py
/usr/lib/python3.6/site-packages/convert2rhel/repo.py
/usr/lib/python3.6/site-packages/convert2rhel/rhelvariant.py
/usr/lib/python3.6/site-packages/convert2rhel/subscription.py
/usr/lib/python3.6/site-packages/convert2rhel/systeminfo.py
/usr/lib/python3.6/site-packages/convert2rhel/toolopts.py
/usr/lib/python3.6/site-packages/convert2rhel/utils.py
/usr/share/convert2rhel
/usr/share/convert2rhel/GLOBAL_EULA_RHEL
/usr/share/convert2rhel/configs
/usr/share/convert2rhel/configs/centos-8-x86_64.cfg
/usr/share/convert2rhel/configs/oracle-8-x86_64.cfg
/usr/share/convert2rhel/gpg-keys
/usr/share/convert2rhel/gpg-keys/RPM-GPG-KEY-redhat-legacy-release
/usr/share/convert2rhel/gpg-keys/RPM-GPG-KEY-redhat-release
/usr/share/doc/convert2rhel
/usr/share/doc/convert2rhel/README.md
/usr/share/licenses/convert2rhel
/usr/share/licenses/convert2rhel/LICENSE
/usr/share/man/man8/convert2rhel.8.gz
/var/lib/convert2rhel
References
Summary
In this tutorial we learn how to install convert2rhel
on CentOS 8 using yum and dnf.