alsaplayer command not found

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

Introduction

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

alsaplayer: command not found

or when using sudo you get the following error message

sudo: alsaplayer: command not found

Solutions to alsaplayer: command not found

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

In Ubuntu alsaplayer is provided by alsaplayer-common package.

alsaplayer-common is:

Alsaplayer is a PCM player designed specifically for use with ALSA, but works great with OSS or EsounD. It’s heavily threaded which cuts down on skipping, offers optional and even simultaneous visual scopes, plays mp3, mp2, ogg, cdda, audiofs, and lots more.

This package contains the main alsaplayer program, and needs one interface plugin and one output plugin. By default, GTK+ interface and alsa output will be installed.

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

sudo apt-get -y install alsaplayer-common

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

You can also use apt command to install alsaplayer-common.

sudo apt -y install alsaplayer-common

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

sudo aptitude install alsaplayer-common

Summary

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