How To Install foomatic on Fedora 34

foomatic is Tools for using the foomatic database of printers and printer drivers

Introduction

In this tutorial we learn how to install foomatic on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install foomatic.

Install foomatic on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install foomatic

Install foomatic on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove foomatic

foomatic Package Contents on Fedora 34

/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/70
/usr/lib/.build-id/70/f9a5869ffa057d2f2dc9e76333d004fec5cacf
/usr/lib/.build-id/77
/usr/lib/.build-id/77/cf02b0c7a7f216c2e28a047af6d475471607bd
/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/DB.pm.pagesize-fract
/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 Fedora 34 using yum and dnf.