How To Install PackageKit-yum-plugin.x86_64 on Amazon Linux 2

In this tutorial we learn how to install PackageKit-yum-plugin.x86_64 in Amazon Linux 2. PackageKit-yum-plugin.x86_64 is Tell PackageKit to check for updates when yum exits

Introduction

In this tutorial we learn how to install PackageKit-yum-plugin.x86_64 on Amazon Linux 2.

What is PackageKit-yum-plugin.x86_64

PackageKit-yum-plugin tells PackageKit to check for updates when yum exits. This way, if you run ‘yum update’ and install all available updates, puplet will almost instantly update itself to reflect this.

We can use yum to install PackageKit-yum-plugin.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install PackageKit-yum-plugin.x86_64.

Install PackageKit-yum-plugin.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install PackageKit-yum-plugin.x86_64 using yum by running the following command:

sudo yum -y install PackageKit-yum-plugin.x86_64

How To Uninstall PackageKit-yum-plugin.x86_64 on Amazon Linux 2

To uninstall only the PackageKit-yum-plugin.x86_64 package we can use the following command:

sudo yum remove PackageKit-yum-plugin.x86_64

PackageKit-yum-plugin.x86_64 Package Contents on Amazon Linux 2

/etc/yum/pluginconf.d/refresh-packagekit.conf
/usr/lib/yum-plugins/refresh-packagekit.py
/usr/lib/yum-plugins/refresh-packagekit.pyc
/usr/lib/yum-plugins/refresh-packagekit.pyo

References

Summary

In this tutorial we learn how to install PackageKit-yum-plugin.x86_64 on Amazon Linux 2 using yum.