adplay command not found

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

Introduction

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

adplay: command not found

or when using sudo you get the following error message

sudo: adplay: command not found

Solutions to adplay: command not found

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

In Ubuntu adplay is provided by adplay package.

adplay is:

AdPlay is AdPlug’s console-based frontend. AdPlug is a free, universal OPL2 audio playback library. AdPlay/UNIX supports the full range of AdPlug’s file format playback features. Despite this, at the moment, only emulated OPL2 output is supported by AdPlay, but this on a wide range of output devices.

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

sudo apt-get -y install adplay

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

You can also use apt command to install adplay.

sudo apt -y install adplay

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

sudo aptitude install adplay

Summary

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