plaympeg command not found

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

Introduction

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

plaympeg: command not found

or when using sudo you get the following error message

sudo: plaympeg: command not found

Solutions to plaympeg: command not found

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

In Ubuntu plaympeg is provided by smpeg-plaympeg package.

smpeg-plaympeg is:

SMPEG (SDL MPEG Player Library) is a free MPEG1 video player library with sound support. Video playback is based on the ubiquitous Berkeley MPEG player, mpeg_play v2.2. Audio is played through a slightly modified mpegsound library, part of splay v0.8.2. SMPEG supports MPEG audio (MP3), MPEG-1 video, and MPEG system streams.

This package contains a command line player called plaympeg.

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

sudo apt-get -y install smpeg-plaympeg

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

You can also use apt command to install smpeg-plaympeg.

sudo apt -y install smpeg-plaympeg

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

sudo aptitude install smpeg-plaympeg

Summary

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