How To Install foomatic on CentOS 7

In this tutorial we learn how to install foomatic on CentOS 7. foomatic is Tools for using the foomatic database of printers and printer

Introduction

In this tutorial we learn how to install foomatic on CentOS 7.

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

Install foomatic on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install foomatic

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

sudo dnf -y install foomatic

How To Uninstall foomatic on CentOS 7

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

sudo dnf remove foomatic

References

Summary

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