How To Install PackageKit-glib.x86_64 on Amazon Linux 2

In this tutorial we learn how to install PackageKit-glib.x86_64 in Amazon Linux 2. PackageKit-glib.x86_64 is GLib libraries for accessing PackageKit

Introduction

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

What is PackageKit-glib.x86_64

GLib libraries for accessing PackageKit.

We can use yum to install PackageKit-glib.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-glib.x86_64.

Install PackageKit-glib.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-glib.x86_64 using yum by running the following command:

sudo yum -y install PackageKit-glib.x86_64

How To Uninstall PackageKit-glib.x86_64 on Amazon Linux 2

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

sudo yum remove PackageKit-glib.x86_64

PackageKit-glib.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/girepository-1.0/PackageKitGlib-1.0.typelib
/usr/lib64/libpackagekit-glib2.so.18
/usr/lib64/libpackagekit-glib2.so.18.1.3

References

Summary

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