mpg123-nas command not found

In this troubleshooting guide we learn how to fix mpg123-nas command not found error message

Introduction

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

mpg123-nas: command not found

or when using sudo you get the following error message

sudo: mpg123-nas: command not found

Solutions to mpg123-nas: command not found

How To Fix mpg123-nas: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mpg123-nas is provided by mpg123 package.

mpg123 is:

mpg123 is a real time MPEG 1.0/2.0/2.5 audio player/decoder for layers 1, 2 and 3 (MPEG 1.0 layer 3 also known as MP3).

This package contains output plugins for several audio systems, including OSS4, the Advanced Linux Sound Architecture (ALSA), JACK, PortAudio, PulseAudio, OpenAL and the Network Audio System (NAS).

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

sudo apt-get -y install mpg123

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

You can also use apt command to install mpg123.

sudo apt -y install mpg123

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

sudo aptitude install mpg123

Summary

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