How To Install cups-pdf on Fedora 36

In this tutorial we learn how to install cups-pdf in Fedora 36. cups-pdf is Extension for creating pdf-Files with CUPS

Introduction

In this tutorial we learn how to install cups-pdf on Fedora 36.

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 “cups-pdf” uses the ghostscript pdfwrite 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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install cups-pdf.

Install cups-pdf on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install cups-pdf

Install cups-pdf on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install cups-pdf

How To Uninstall cups-pdf on Fedora 36

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

sudo dnf remove cups-pdf

cups-pdf Package Contents on Fedora 36

/etc/cups/cups-pdf.conf
/usr/lib/.build-id
/usr/lib/.build-id/82
/usr/lib/.build-id/82/f04340a558a21373d322c2a5281cf1cde9a704
/usr/lib/cups/backend/cups-pdf
/usr/share/cups/model/CUPS-PDF_noopt.ppd
/usr/share/cups/model/CUPS-PDF_opt.ppd
/usr/share/doc/cups-pdf
/usr/share/doc/cups-pdf/COPYING
/usr/share/doc/cups-pdf/ChangeLog
/usr/share/doc/cups-pdf/INSTALL.RPM
/usr/share/doc/cups-pdf/README
/var/spool/cups-pdf
/var/spool/cups-pdf/SPOOL

References

Summary

In this tutorial we learn how to install cups-pdf on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).