How To Install libdnf-plugin-txnupd on Fedora 36

In this tutorial we learn how to install libdnf-plugin-txnupd in Fedora 36. libdnf-plugin-txnupd is libdnf plugin to implement transactional updates

Introduction

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

What is libdnf-plugin-txnupd

This package contains the plugin to implement transactional updates as a libdnf plugin. This plugin hooks into the DNF “context” for Micro DNF and PackageKit to enable this functionality in normal use.

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

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

sudo dnf -y install libdnf-plugin-txnupd

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

sudo yum -y install libdnf-plugin-txnupd

How To Uninstall libdnf-plugin-txnupd on Fedora 36

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

sudo dnf remove libdnf-plugin-txnupd

libdnf-plugin-txnupd Package Contents on Fedora 36

/etc/dnf/protected.d/txnupd.conf
/usr/lib/.build-id
/usr/lib/.build-id/67
/usr/lib/.build-id/67/93af5790c0a2c096915faa37aaadbb955598ab
/usr/lib64/libdnf/plugins/txnupd.so
/usr/share/doc/libdnf-plugin-txnupd
/usr/share/doc/libdnf-plugin-txnupd/README.md
/usr/share/licenses/libdnf-plugin-txnupd
/usr/share/licenses/libdnf-plugin-txnupd/LICENSE

References

Summary

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