pd-gem command not found

In this troubleshooting guide we learn how to fix pd-gem command not found error message

Introduction

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

pd-gem: command not found

or when using sudo you get the following error message

sudo: pd-gem: command not found

Solutions to pd-gem: command not found

How To Fix pd-gem: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pd-gem is provided by gem package.

gem is:

Gem is a loadable library for Pure Data (Pd), which adds OpenGL graphics rendering and animation to Pd. Pd is a graphical programming language and computer music system.

This package contains the core library. If you want to use external data (live video capture, film footage, still images, …), you have to install one (or all) of the gem-plugin-* packages.

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

sudo apt-get -y install gem

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

You can also use apt command to install gem.

sudo apt -y install gem

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

sudo aptitude install gem

Summary

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