foomatic-rip command not found

In this troubleshooting guide we learn how to fix foomatic-rip command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

foomatic-rip: command not found

or when using sudo you get the following error message

sudo: foomatic-rip: command not found

Solutions to foomatic-rip: command not found

How To Fix foomatic-rip: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu foomatic-rip is provided by cups-filters package.

cups-filters is:

This package provides additional CUPS filters which are not provided by the CUPS project itself. This includes filters for a PDF based printing workflow.

This package contains the filters for printing with drivers/PPDs and for converting non-PDF input files to PDF.

To fix this problem, we can install more using the command below.

sudo apt-get -y install cups-filters

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install cups-filters.

sudo apt -y install cups-filters

Or if you have aptitude installed you can use the following command.

sudo aptitude install cups-filters

Summary

In this tutorial we learn how to fix foomatic-rip command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.