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

In this tutorial we learn how to install PackageKit-cron.x86_64 in Amazon Linux 2. PackageKit-cron.x86_64 is Cron job and related utilities for PackageKit

Introduction

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

What is PackageKit-cron.x86_64

Crontab and utilities for running PackageKit as a cron job.

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

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

sudo yum -y install PackageKit-cron.x86_64

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

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

sudo yum remove PackageKit-cron.x86_64

PackageKit-cron.x86_64 Package Contents on Amazon Linux 2

/etc/cron.daily/packagekit-background.cron
/etc/sysconfig/packagekit-background

References

Summary

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