How To Install cups-client on AlmaLinux 8

In this tutorial we learn how to install cups-client in AlmaLinux 8. cups-client is CUPS printing system - client programs

Introduction

In this tutorial we learn how to install cups-client on AlmaLinux 8.

What is cups-client

CUPS printing system provides a portable printing layer for UNIX® operating systems. This package contains command-line client programs.

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

Install cups-client on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install cups-client

Install cups-client on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install cups-client

How To Uninstall cups-client on AlmaLinux 8

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

sudo dnf remove cups-client

References

Summary

In this tutorial we learn how to install cups-client on AlmaLinux 8 using yum and dnf.