aoss command not found

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

Introduction

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

aoss: command not found

or when using sudo you get the following error message

sudo: aoss: command not found

Solutions to aoss: command not found

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

In Ubuntu aoss is provided by alsa-oss package.

alsa-oss is:

This package contains a program loader, aoss, which wraps applications written for OSS in a compatibility library, thus allowing them to work with ALSA.

There are two ways of getting an application to work with ALSA if the application was written for OSS. The first way is to load the special ALSA drivers that emulate the OSS kernel interface; these allow the application to open /dev/dsp0 and other OSS device files. The second way is to wrap the application in the libaoss library provided in this package; the wrapper causes the application to access native ALSA device files such as /dev/snd/pcmC0D0c instead of OSS device files.

Use of the alsa-oss library is recommended over the use of OSS-emulation drivers if you want to use ALSA’s PCM plugin layer.

ALSA is the Advanced Linux Sound Architecture.

OSS is the free version of the Open Sound System.

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

sudo apt-get -y install alsa-oss

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

You can also use apt command to install alsa-oss.

sudo apt -y install alsa-oss

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

sudo aptitude install alsa-oss

Summary

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