How To Install foomatic-filters-beh on Ubuntu 18.04

In this tutorial we learn how to install foomatic-filters-beh on Ubuntu 18.04. foomatic-filters-beh is Openprinting Backend error handler

Introduction

In this tutorial we learn how to install foomatic-filters-beh on Ubuntu 18.04.

What is foomatic-filters-beh

foomatic-filters-beh is:

Foomatic is a printer database designed to make it easier to set up common printers for use with UNIX-like operating systems. It provides the “glue” between a print spooler (like CUPS or lpr) and the printer, by processing files sent to the printer.

This package contains the backend error handler.

There are three methods to install foomatic-filters-beh on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install foomatic-filters-beh Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install foomatic-filters-beh using apt-get by running the following command:

sudo apt-get -y install foomatic-filters-beh

Install foomatic-filters-beh Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install foomatic-filters-beh using apt by running the following command:

sudo apt -y install foomatic-filters-beh

Install foomatic-filters-beh Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install foomatic-filters-beh using aptitude by running the following command:

sudo aptitude -y install foomatic-filters-beh

How To Uninstall foomatic-filters-beh on Ubuntu 18.04

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

sudo apt-get remove foomatic-filters-beh

Uninstall foomatic-filters-beh And Its Dependencies

To uninstall foomatic-filters-beh and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove foomatic-filters-beh

Remove foomatic-filters-beh Configurations and Data

To remove foomatic-filters-beh configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge foomatic-filters-beh

Remove foomatic-filters-beh configuration, data, and all of its dependencies

We can use the following command to remove foomatic-filters-beh configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge foomatic-filters-beh

References

Summary

In this tutorial we learn how to install foomatic-filters-beh package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.