bplay command not found

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

Introduction

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

bplay: command not found

or when using sudo you get the following error message

sudo: bplay: command not found

Solutions to bplay: command not found

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

In Ubuntu bplay is provided by bplay package.

bplay is:

The bplay package provides a simple command-line utility for playing and recording audio files in raw sample, VOC and WAV formats.

To use this program you need a soundcard of some kind and the appropriate driver configured into your kernel.

When run the program creates two processes which share a memory buffer. It does reading/writing on the disk and the sound device simultaneously, in order to be less liable to `pause’ because the disk is too slow or too busy.

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

sudo apt-get -y install bplay

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

You can also use apt command to install bplay.

sudo apt -y install bplay

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

sudo aptitude install bplay

Summary

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