How To Install cups-client on Rocky Linux 8
Introduction
In this tutorial we learn how to install cups-client
on Rocky Linux 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 Rocky Linux 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 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 cups-client
using dnf
by running the following command:
sudo dnf -y install cups-client
Install cups-client 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 cups-client
using yum
by running the following command:
sudo yum -y install cups-client
How To Uninstall cups-client on Rocky Linux 8
To uninstall only the cups-client
package we can use the following command:
sudo dnf remove cups-client
cups-client Package Contents on Rocky Linux 8
/usr/bin/cancel.cups
/usr/bin/lp.cups
/usr/bin/lpoptions
/usr/bin/lpq.cups
/usr/bin/lpr.cups
/usr/bin/lprm.cups
/usr/bin/lpstat.cups
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/71ab4faa864da8c72cb60be099f64161a3dd46
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/b810fa3a285255513b0513d5bf8fea8cb324cd
/usr/lib/.build-id/41
/usr/lib/.build-id/41/6841d95b814030685c5ef63093c6114c58142c
/usr/lib/.build-id/78
/usr/lib/.build-id/78/1b937824ab0a00599dec9b7fa5e9dc3a34526f
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/41d2032a7ba0ac72841f9392034cbd37bfced8
/usr/lib/.build-id/d8/628397b3871912fd844488325d0ab5361a56fb
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/c305d7c4006f581fd25f9fd58bef3bc16c5020
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/7fcf5cdde3e37bbeff116a9813949c4793939c
/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/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
on Rocky Linux 8 using yum and dnf.