How To Install libdnf-plugin-swidtags on Fedora 36

In this tutorial we learn how to install libdnf-plugin-swidtags in Fedora 36. libdnf-plugin-swidtags is Keeping SWID tags in sync with rpms installed via libdnf-based tools

Introduction

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

What is libdnf-plugin-swidtags

The libdnf plugin swidtags_plugin.so can be used to keep the SWID information synchronized with SWID tags from dnf/yum repository metadata for package installations, upgrades, and removals using tools based on libdnf (for example microdnf).

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

Install libdnf-plugin-swidtags 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-swidtags using dnf by running the following command:

sudo dnf -y install libdnf-plugin-swidtags

Install libdnf-plugin-swidtags 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-swidtags using yum by running the following command:

sudo yum -y install libdnf-plugin-swidtags

How To Uninstall libdnf-plugin-swidtags on Fedora 36

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

sudo dnf remove libdnf-plugin-swidtags

libdnf-plugin-swidtags Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/72
/usr/lib/.build-id/72/0232bbd0f5692298b8b7f1d01977a7c7a11f72
/usr/lib64/libdnf/plugins/swidtags_plugin.so
/usr/share/doc/libdnf-plugin-swidtags
/usr/share/doc/libdnf-plugin-swidtags/README.md
/usr/share/licenses/libdnf-plugin-swidtags
/usr/share/licenses/libdnf-plugin-swidtags/LICENSE

References

Summary

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