squeezelite command not found

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

Introduction

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

squeezelite: command not found

or when using sudo you get the following error message

sudo: squeezelite: command not found

Solutions to squeezelite: command not found

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

In Ubuntu squeezelite is provided by squeezelite-pa package.

squeezelite-pa is:

Squeezelite is a small headless Squeezebox emulator. It is aimed at supporting high quality audio including USB DAC based output at multiple sample rates.

It supports decoding PCM (WAV/AIFF), FLAC, MP3, Ogg, AAC, WMA and ALAC audio formats. It can also resample audio, which allows squeezelite to upsample the output to the highest sample rate supported by the output device.

This package is built with the resampling, ffmpeg and visualisation export options. It uses PortAudio for audio output.

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

sudo apt-get -y install squeezelite-pa

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

You can also use apt command to install squeezelite-pa.

sudo apt -y install squeezelite-pa

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

sudo aptitude install squeezelite-pa

Summary

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