ppmd command not found

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

Introduction

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

ppmd: command not found

or when using sudo you get the following error message

sudo: ppmd: command not found

Solutions to ppmd: command not found

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

In Ubuntu ppmd is provided by python3-ppmd package.

python3-ppmd is:

PPM(Prediction by partial matching) is a compression algorithm which has several variations of implementations. PPMd is the implementation by Dmitry Shkarin. It is used in the RAR and by 7-Zip as one of several possible methods.

ppmd, aka. ppmd-cffi, is a python bindings with PPMd implementation by C language. The C codes are derived from p7zip, portable 7-zip implementation. ppmd-cffi support PPMd ver.H and PPMd ver.I.

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

sudo apt-get -y install python3-ppmd

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

You can also use apt command to install python3-ppmd.

sudo apt -y install python3-ppmd

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

sudo aptitude install python3-ppmd

Summary

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