magicfilterconfig command not found

In this troubleshooting guide we learn how to fix magicfilterconfig command not found error message

Introduction

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

magicfilterconfig: command not found

or when using sudo you get the following error message

sudo: magicfilterconfig: command not found

Solutions to magicfilterconfig: command not found

How To Fix magicfilterconfig: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu magicfilterconfig is provided by magicfilter package.

magicfilter is:

Magicfilter is a customizable, extensible automatic printer filter.

It translates the files that you send to a printer to a “language” that your printer can “understand”. To accomplish this goal, it determines the type of the file that is to be printed and uses its “knowledge” to convert the file to something that is printable.

This is done by use of magicfilter’s own magic database (a la file(1)) to decide how to print out a given print job.

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

sudo apt-get -y install magicfilter

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

You can also use apt command to install magicfilter.

sudo apt -y install magicfilter

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

sudo aptitude install magicfilter

Summary

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