ppdi command not found

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

Introduction

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

ppdi: command not found

or when using sudo you get the following error message

sudo: ppdi: command not found

Solutions to ppdi: command not found

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

In Ubuntu ppdi is provided by cups-ppdc package.

cups-ppdc is:

The Common UNIX Printing System (or CUPS(tm)) is a printing system and general replacement for lpd and the like. It supports the Internet Printing Protocol (IPP), and has its own filtering driver model for handling various document types.

This package provides utilities to generate and manipulate PPD files.

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

sudo apt-get -y install cups-ppdc

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

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

sudo apt -y install cups-ppdc

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

sudo aptitude install cups-ppdc

Summary

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