How To Install PackageKit on Rocky Linux 8

In this tutorial we learn how to install PackageKit on Rocky Linux 8. PackageKit is Package management service

Introduction

In this tutorial we learn how to install PackageKit on Rocky Linux 8.

What is PackageKit

PackageKit is a D-Bus abstraction layer that allows the session user to manage packages in a secure way using a cross-distro, cross-architecture API.

We can use yum or dnf to install PackageKit on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install PackageKit.

Install PackageKit on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install PackageKit using dnf by running the following command:

sudo dnf -y install PackageKit

Install PackageKit on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install PackageKit

How To Uninstall PackageKit on Rocky Linux 8

To uninstall only the PackageKit package we can use the following command:

sudo dnf remove PackageKit

PackageKit Package Contents on Rocky Linux 8

/etc/PackageKit
/etc/PackageKit/PackageKit.conf
/etc/PackageKit/Vendor.conf
/etc/dbus-1/system.d/org.freedesktop.PackageKit.conf
/usr/bin/pkcon
/usr/bin/pkmon
/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/34c66300a8265f2b6e98e64d7d1765fd3e2923
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/e31431b03f0649bc6046678038c673d44815cf
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/47cc33abb680d7cce9f8b878a8fa2189dd0236
/usr/lib/.build-id/28
/usr/lib/.build-id/28/f97d4ef5ae81c498a698ecbc2c441ecf233a20
/usr/lib/.build-id/34
/usr/lib/.build-id/34/f3d52be4520ba70fd132417cb9f8e7ce820085
/usr/lib/.build-id/72
/usr/lib/.build-id/72/5fdf7a245d58e0588c09fd7ad381d8845607b4
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/ac5482c3e385e4c315b02181d1cd8dc60ec8a2
/usr/lib/.build-id/89
/usr/lib/.build-id/89/2d3ad133d52cef7f4dc703aedd11b05f495ce2
/usr/lib/.build-id/89/acf36fc0413111514f5127f02aff305f5510fb
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/bdd1ea255bbbcdd7451cd80f617a0929685c30
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/1e9dccd259a952dd025b470027902f8d4d45a3
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/f5892e8046f6d6c42b548fdaec5b3878648dbf
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/417ccd6e24ed09413f0bce7af857071eb333bf
/usr/lib/systemd/system/packagekit-offline-update.service
/usr/lib/systemd/system/packagekit.service
/usr/lib/systemd/system/system-update.target.wants
/usr/lib/systemd/system/system-update.target.wants/packagekit-offline-update.service
/usr/lib64/packagekit-backend
/usr/lib64/packagekit-backend/libpk_backend_dnf.so
/usr/lib64/packagekit-backend/libpk_backend_dummy.so
/usr/lib64/packagekit-backend/libpk_backend_test_fail.so
/usr/lib64/packagekit-backend/libpk_backend_test_nop.so
/usr/lib64/packagekit-backend/libpk_backend_test_spawn.so
/usr/lib64/packagekit-backend/libpk_backend_test_succeed.so
/usr/lib64/packagekit-backend/libpk_backend_test_thread.so
/usr/libexec/packagekit-direct
/usr/libexec/packagekitd
/usr/libexec/pk-offline-update
/usr/share/PackageKit
/usr/share/PackageKit/helpers
/usr/share/PackageKit/helpers/test_spawn
/usr/share/PackageKit/helpers/test_spawn/search-name.sh
/usr/share/PackageKit/icons
/usr/share/PackageKit/pk-upgrade-distro.sh
/usr/share/bash-completion/completions/pkcon
/usr/share/dbus-1/interfaces/org.freedesktop.PackageKit.Transaction.xml
/usr/share/dbus-1/interfaces/org.freedesktop.PackageKit.xml
/usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service
/usr/share/doc/PackageKit
/usr/share/doc/PackageKit/AUTHORS
/usr/share/doc/PackageKit/NEWS
/usr/share/doc/PackageKit/README
/usr/share/licenses/PackageKit
/usr/share/licenses/PackageKit/COPYING
/usr/share/locale/ar/LC_MESSAGES/PackageKit.mo
/usr/share/locale/as/LC_MESSAGES/PackageKit.mo
/usr/share/locale/ast/LC_MESSAGES/PackageKit.mo
/usr/share/locale/az/LC_MESSAGES/PackageKit.mo
/usr/share/locale/bg/LC_MESSAGES/PackageKit.mo
/usr/share/locale/bn_IN/LC_MESSAGES/PackageKit.mo
/usr/share/locale/br/LC_MESSAGES/PackageKit.mo
/usr/share/locale/ca/LC_MESSAGES/PackageKit.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/PackageKit.mo
/usr/share/locale/cs/LC_MESSAGES/PackageKit.mo
/usr/share/locale/cy/LC_MESSAGES/PackageKit.mo
/usr/share/locale/da/LC_MESSAGES/PackageKit.mo
/usr/share/locale/de/LC_MESSAGES/PackageKit.mo
/usr/share/locale/el/LC_MESSAGES/PackageKit.mo
/usr/share/locale/en_GB/LC_MESSAGES/PackageKit.mo
/usr/share/locale/eo/LC_MESSAGES/PackageKit.mo
/usr/share/locale/es/LC_MESSAGES/PackageKit.mo
/usr/share/locale/eu/LC_MESSAGES/PackageKit.mo
/usr/share/locale/fa/LC_MESSAGES/PackageKit.mo
/usr/share/locale/fi/LC_MESSAGES/PackageKit.mo
/usr/share/locale/fo/LC_MESSAGES/PackageKit.mo
/usr/share/locale/fr/LC_MESSAGES/PackageKit.mo
/usr/share/locale/ga/LC_MESSAGES/PackageKit.mo
/usr/share/locale/gl/LC_MESSAGES/PackageKit.mo
/usr/share/locale/gu/LC_MESSAGES/PackageKit.mo
/usr/share/locale/he/LC_MESSAGES/PackageKit.mo
/usr/share/locale/hi/LC_MESSAGES/PackageKit.mo
/usr/share/locale/hr/LC_MESSAGES/PackageKit.mo
/usr/share/locale/hu/LC_MESSAGES/PackageKit.mo
/usr/share/locale/ia/LC_MESSAGES/PackageKit.mo
/usr/share/locale/id/LC_MESSAGES/PackageKit.mo
/usr/share/locale/it/LC_MESSAGES/PackageKit.mo
/usr/share/locale/ja/LC_MESSAGES/PackageKit.mo
/usr/share/locale/ka/LC_MESSAGES/PackageKit.mo
/usr/share/locale/kk/LC_MESSAGES/PackageKit.mo
/usr/share/locale/kn/LC_MESSAGES/PackageKit.mo
/usr/share/locale/ko/LC_MESSAGES/PackageKit.mo
/usr/share/locale/lt/LC_MESSAGES/PackageKit.mo
/usr/share/locale/lv/LC_MESSAGES/PackageKit.mo
/usr/share/locale/ml/LC_MESSAGES/PackageKit.mo
/usr/share/locale/mr/LC_MESSAGES/PackageKit.mo
/usr/share/locale/ms/LC_MESSAGES/PackageKit.mo
/usr/share/locale/nb/LC_MESSAGES/PackageKit.mo
/usr/share/locale/nl/LC_MESSAGES/PackageKit.mo
/usr/share/locale/nn/LC_MESSAGES/PackageKit.mo
/usr/share/locale/oc/LC_MESSAGES/PackageKit.mo
/usr/share/locale/or/LC_MESSAGES/PackageKit.mo
/usr/share/locale/pa/LC_MESSAGES/PackageKit.mo
/usr/share/locale/pl/LC_MESSAGES/PackageKit.mo
/usr/share/locale/pt/LC_MESSAGES/PackageKit.mo
/usr/share/locale/pt_BR/LC_MESSAGES/PackageKit.mo
/usr/share/locale/ro/LC_MESSAGES/PackageKit.mo
/usr/share/locale/ru/LC_MESSAGES/PackageKit.mo
/usr/share/locale/sk/LC_MESSAGES/PackageKit.mo
/usr/share/locale/sl/LC_MESSAGES/PackageKit.mo
/usr/share/locale/sq/LC_MESSAGES/PackageKit.mo
/usr/share/locale/sr/LC_MESSAGES/PackageKit.mo
/usr/share/locale/sr@latin/LC_MESSAGES/PackageKit.mo
/usr/share/locale/sv/LC_MESSAGES/PackageKit.mo
/usr/share/locale/ta/LC_MESSAGES/PackageKit.mo
/usr/share/locale/te/LC_MESSAGES/PackageKit.mo
/usr/share/locale/th/LC_MESSAGES/PackageKit.mo
/usr/share/locale/tr/LC_MESSAGES/PackageKit.mo
/usr/share/locale/uk/LC_MESSAGES/PackageKit.mo
/usr/share/locale/vi/LC_MESSAGES/PackageKit.mo
/usr/share/locale/wa/LC_MESSAGES/PackageKit.mo
/usr/share/locale/zh_CN/LC_MESSAGES/PackageKit.mo
/usr/share/locale/zh_HK/LC_MESSAGES/PackageKit.mo
/usr/share/locale/zh_TW/LC_MESSAGES/PackageKit.mo
/usr/share/man/man1/pkcon.1.gz
/usr/share/man/man1/pkmon.1.gz
/usr/share/polkit-1/actions/org.freedesktop.packagekit.policy
/usr/share/polkit-1/rules.d/org.freedesktop.packagekit.rules
/var/cache/PackageKit
/var/cache/PackageKit/groups.sqlite
/var/cache/app-info
/var/cache/app-info/icons
/var/cache/app-info/xmls
/var/lib/PackageKit
/var/lib/PackageKit/transactions.db

References

Summary

In this tutorial we learn how to install PackageKit on Rocky Linux 8 using yum and dnf.