How To Install libdnf-plugin-subscription-manager on Fedora 36

In this tutorial we learn how to install libdnf-plugin-subscription-manager in Fedora 36. libdnf-plugin-subscription-manager is Subscription Manager plugin for libdnf

Introduction

In this tutorial we learn how to install libdnf-plugin-subscription-manager on Fedora 36.

What is libdnf-plugin-subscription-manager

This package provides a plugin to interact with repositories from the Red Hat entitlement platform; contains only one product-id binary plugin used by e.g. microdnf.

We can use yum or dnf to install libdnf-plugin-subscription-manager on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libdnf-plugin-subscription-manager.

Install libdnf-plugin-subscription-manager on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libdnf-plugin-subscription-manager using dnf by running the following command:

sudo dnf -y install libdnf-plugin-subscription-manager

Install libdnf-plugin-subscription-manager on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libdnf-plugin-subscription-manager

How To Uninstall libdnf-plugin-subscription-manager on Fedora 36

To uninstall only the libdnf-plugin-subscription-manager package we can use the following command:

sudo dnf remove libdnf-plugin-subscription-manager

libdnf-plugin-subscription-manager Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/4b608b592fd97c0018fc6464d10e863164b44b
/usr/lib64/libdnf/plugins/product-id.so

References

Summary

In this tutorial we learn how to install libdnf-plugin-subscription-manager on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).