How To Install foomatic on Rocky Linux 8

In this tutorial we learn how to install foomatic on Rocky Linux 8. foomatic is Tools for using the foomatic database of printers and printer drivers

Introduction

In this tutorial we learn how to install foomatic on Rocky Linux 8.

What is foomatic

Foomatic is a comprehensive, spooler-independent database of printers, printer drivers, and driver descriptions. This package contains utilities to generate driver description files and printer queues for CUPS, LPD, LPRng, and PDQ using the database (packaged separately). There is also the possibility to read the PJL options out of PJL-capable laser printers and take them into account at the driver description file generation. There are spooler-independent command line interfaces to manipulate queues (foomatic-configure) and to print files/manipulate jobs (foomatic printjob). The site http

We can use yum or dnf to install foomatic on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install foomatic.

Install foomatic 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 foomatic using dnf by running the following command:

sudo dnf -y install foomatic

Install foomatic 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 foomatic using yum by running the following command:

sudo yum -y install foomatic

How To Uninstall foomatic on Rocky Linux 8

To uninstall only the foomatic package we can use the following command:

sudo dnf remove foomatic

foomatic Package Contents on Rocky Linux 8

/etc/foomatic
/etc/foomatic/defaultspooler
/usr/bin/foomatic-combo-xml
/usr/bin/foomatic-compiledb
/usr/bin/foomatic-configure
/usr/bin/foomatic-datafile
/usr/bin/foomatic-perl-data
/usr/bin/foomatic-ppd-options
/usr/bin/foomatic-ppd-to-xml
/usr/bin/foomatic-ppdfile
/usr/bin/foomatic-printjob
/usr/bin/foomatic-searchprinter
/usr/lib/.build-id
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/9333ac7640130592b570a24c13974c58e911d3
/usr/lib/.build-id/86
/usr/lib/.build-id/86/7666439db6f2d095bfd9b159a66929f840e786
/usr/lib/cups/driver/foomatic
/usr/sbin/foomatic-addpjloptions
/usr/sbin/foomatic-cleanupdrivers
/usr/sbin/foomatic-extract-text
/usr/sbin/foomatic-fix-xml
/usr/sbin/foomatic-getpjloptions
/usr/sbin/foomatic-kitload
/usr/sbin/foomatic-nonumericalids
/usr/sbin/foomatic-preferred-driver
/usr/sbin/foomatic-printermap-to-gutenprint-xml
/usr/sbin/foomatic-replaceoldprinterids
/usr/share/doc/foomatic
/usr/share/doc/foomatic/COPYING
/usr/share/man/man1/foomatic-cleanupdrivers.1.gz
/usr/share/man/man1/foomatic-combo-xml.1.gz
/usr/share/man/man1/foomatic-compiledb.1.gz
/usr/share/man/man1/foomatic-configure.1.gz
/usr/share/man/man1/foomatic-datafile.1.gz
/usr/share/man/man1/foomatic-extract-text.1.gz
/usr/share/man/man1/foomatic-fix-xml.1.gz
/usr/share/man/man1/foomatic-nonumericalids.1.gz
/usr/share/man/man1/foomatic-perl-data.1.gz
/usr/share/man/man1/foomatic-ppd-options.1.gz
/usr/share/man/man1/foomatic-ppd-to-xml.1.gz
/usr/share/man/man1/foomatic-ppdfile.1.gz
/usr/share/man/man1/foomatic-printermap-to-gutenprint-xml.1.gz
/usr/share/man/man1/foomatic-printjob.1.gz
/usr/share/man/man1/foomatic-replaceoldprinterids.1.gz
/usr/share/man/man1/foomatic-searchprinter.1.gz
/usr/share/man/man8/foomatic-addpjloptions.8.gz
/usr/share/man/man8/foomatic-getpjloptions.8.gz
/usr/share/man/man8/foomatic-kitload.8.gz
/usr/share/man/man8/foomatic-preferred-driver.8.gz
/usr/share/perl5/vendor_perl/Foomatic
/usr/share/perl5/vendor_perl/Foomatic/DB.pm
/usr/share/perl5/vendor_perl/Foomatic/Defaults.pm
/usr/share/perl5/vendor_perl/Foomatic/PPD.pm
/usr/share/perl5/vendor_perl/Foomatic/UIElem.pm
/var/cache/foomatic

References

Summary

In this tutorial we learn how to install foomatic on Rocky Linux 8 using yum and dnf.