How To Install cups-pk-helper on CentOS 8

cups-pk-helper is A helper that makes system-config-printer use PolicyKit

Introduction

In this tutorial we learn how to install cups-pk-helper on CentOS 8.

What is cups-pk-helper

cups-pk-helper is an application which makes cups configuration interfaces available under control of PolicyKit.

We can use yum or dnf to install cups-pk-helper on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install cups-pk-helper.

Install cups-pk-helper on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install cups-pk-helper using dnf by running the following command:

sudo dnf -y install cups-pk-helper

Install cups-pk-helper on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install cups-pk-helper using yum by running the following command:

sudo yum -y install cups-pk-helper

How To Uninstall cups-pk-helper on CentOS 8

To uninstall only the cups-pk-helper package we can use the following command:

sudo dnf remove cups-pk-helper

cups-pk-helper Package Contents on CentOS 8

/etc/dbus-1/system.d/org.opensuse.CupsPkHelper.Mechanism.conf
/usr/lib/.build-id
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/deca19e9a2db851a6aed6f3c95d3f813a21c79
/usr/libexec/cups-pk-helper-mechanism
/usr/share/dbus-1/system-services/org.opensuse.CupsPkHelper.Mechanism.service
/usr/share/doc/cups-pk-helper
/usr/share/doc/cups-pk-helper/AUTHORS
/usr/share/doc/cups-pk-helper/COPYING
/usr/share/doc/cups-pk-helper/NEWS
/usr/share/locale/ca/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/cs/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/da/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/de/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/en/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/en_GB/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/eo/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/es/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/eu/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/fi/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/fr/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/gl/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/hr/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/hu/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/ia/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/id/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/it/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/ja/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/ka/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/kk/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/ko/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/lv/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/nl/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/oc/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/pl/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/pt/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/pt_BR/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/ru/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/sk/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/sl/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/sr/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/sv/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/tr/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/uk/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/zh_CN/LC_MESSAGES/cups-pk-helper.mo
/usr/share/locale/zh_TW/LC_MESSAGES/cups-pk-helper.mo
/usr/share/polkit-1/actions/org.opensuse.cupspkhelper.mechanism.policy

References

Summary

In this tutorial we learn how to install cups-pk-helper on CentOS 8 using yum and dnf.