bluealsa-aplay command not found

In this troubleshooting guide we learn how to fix bluealsa-aplay command not found error message

Introduction

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

bluealsa-aplay: command not found

or when using sudo you get the following error message

sudo: bluealsa-aplay: command not found

Solutions to bluealsa-aplay: command not found

How To Fix bluealsa-aplay: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu bluealsa-aplay is provided by bluez-alsa-utils package.

bluez-alsa-utils is:

Bluetooth Audio ALSA Backend allow bluetooth audio without PulseAudio.

This project is a rebirth of a direct integration between Bluez and ALSA. Since Bluez >= 5, the build-in integration has been removed in favor of 3rd party audio applications. From now on, Bluez acts as a middleware between an audio application, which implements Bluetooth audio profile, and a Bluetooth audio device.

This package contains files that is tool using bluez-alsa plugin.

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

sudo apt-get -y install bluez-alsa-utils

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

You can also use apt command to install bluez-alsa-utils.

sudo apt -y install bluez-alsa-utils

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

sudo aptitude install bluez-alsa-utils

Summary

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