How To Install cups-client.x86_64 on Amazon Linux 2

In this tutorial we learn how to install cups-client.x86_64 in Amazon Linux 2. cups-client.x86_64 is CUPS printing system - client programs

Introduction

In this tutorial we learn how to install cups-client.x86_64 on Amazon Linux 2.

What is cups-client.x86_64

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

We can use yum to install cups-client.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install cups-client.x86_64.

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

sudo yum -y install cups-client.x86_64

How To Uninstall cups-client.x86_64 on Amazon Linux 2

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

sudo yum remove cups-client.x86_64

cups-client.x86_64 Package Contents on Amazon Linux 2

/usr/bin/cancel.cups
/usr/bin/lp.cups
/usr/bin/lpoptions
/usr/bin/lppasswd
/usr/bin/lpq.cups
/usr/bin/lpr.cups
/usr/bin/lprm.cups
/usr/bin/lpstat.cups
/usr/sbin/lpc.cups
/usr/share/man/man1/cancel-cups.1.gz
/usr/share/man/man1/lp-cups.1.gz
/usr/share/man/man1/lpoptions.1.gz
/usr/share/man/man1/lppasswd.1.gz
/usr/share/man/man1/lpq-cups.1.gz
/usr/share/man/man1/lpr-cups.1.gz
/usr/share/man/man1/lprm-cups.1.gz
/usr/share/man/man1/lpstat-cups.1.gz
/usr/share/man/man8/lpc-cups.8.gz

References

Summary

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