How To Install subscription-manager-migration-data on CentOS 8

In this tutorial we learn how to install subscription-manager-migration-data on CentOS 8. subscription-manager-migration-data is RHN Classic to RHSM migration data

Introduction

In this tutorial we learn how to install subscription-manager-migration-data on CentOS 8.

What is subscription-manager-migration-data

This package provides certificates for migrating a system from RHN Classic to RHSM.

We can use yum or dnf to install subscription-manager-migration-data on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install subscription-manager-migration-data.

Install subscription-manager-migration-data on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install subscription-manager-migration-data using yum by running the following command:

sudo yum -y install subscription-manager-migration-data

Install subscription-manager-migration-data on CentOS 8 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 subscription-manager-migration-data using dnf by running the following command:

sudo dnf -y install subscription-manager-migration-data

How To Uninstall subscription-manager-migration-data on CentOS 8

To uninstall only the subscription-manager-migration-data package we can use the following command:

sudo dnf remove subscription-manager-migration-data

References

Summary

In this tutorial we learn how to install subscription-manager-migration-data on CentOS 8 using yum and dnf.