How To Install foomatic-db-filesystem on Rocky Linux 8

In this tutorial we learn how to install foomatic-db-filesystem on Rocky Linux 8. foomatic-db-filesystem is Directory layout for the foomatic package

Introduction

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

What is foomatic-db-filesystem

Directory layout for the foomatic package.

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

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

sudo dnf -y install foomatic-db-filesystem

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

sudo yum -y install foomatic-db-filesystem

How To Uninstall foomatic-db-filesystem on Rocky Linux 8

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

sudo dnf remove foomatic-db-filesystem

foomatic-db-filesystem Package Contents on Rocky Linux 8

/usr/share/foomatic
/usr/share/foomatic/db
/usr/share/foomatic/db/source
/usr/share/foomatic/db/source/PPD
/usr/share/foomatic/db/source/driver
/usr/share/foomatic/db/source/opt
/usr/share/foomatic/db/source/printer

References

Summary

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