How To Install foomatic.x86_64 on Amazon Linux 2

In this tutorial we learn how to install foomatic.x86_64 in Amazon Linux 2. foomatic.x86_64 is Tools for using the foomatic database of printers and printer

Introduction

In this tutorial we learn how to install foomatic.x86_64 on Amazon Linux 2.

What is foomatic.x86_64

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 to install foomatic.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install foomatic.x86_64.

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

sudo yum -y install foomatic.x86_64

How To Uninstall foomatic.x86_64 on Amazon Linux 2

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

sudo yum remove foomatic.x86_64

foomatic.x86_64 Package Contents on Amazon Linux 2

/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/cups/backend/beh
/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-4.0.9
/usr/share/doc/foomatic-4.0.9/foomatic-db-engine-4.0.9
/usr/share/doc/foomatic-4.0.9/foomatic-db-engine-4.0.9/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.x86_64 on Amazon Linux 2 using yum.