How To Install cups-pdf on CentOS 7

In this tutorial we learn how to install cups-pdf on CentOS 7. cups-pdf is Extension for creating pdf-Files with CUPS

Introduction

In this tutorial we learn how to install cups-pdf on CentOS 7.

What is cups-pdf

“cups-pdf” is a backend script for use with CUPS - the “Common UNIX Printing System” (see more for CUPS under http device to produce PDF Files. This version has been modified to store the PDF files on the Desktop of the user. This behavior can be changed by editing the configuration file.

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

Install cups-pdf on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install cups-pdf

Install cups-pdf on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install cups-pdf

How To Uninstall cups-pdf on CentOS 7

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

sudo dnf remove cups-pdf

References

Summary

In this tutorial we learn how to install cups-pdf on CentOS 7 using yum and dnf.