sndfile-play command not found
In this troubleshooting guide we learn how to fix sndfile-play command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
sndfile-play: command not found
or when using sudo you get the following error message
sudo: sndfile-play: command not found
Solutions to sndfile-play: command not found
How To Fix sndfile-play: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sndfile-play is provided by sndfile-programs package.
sndfile-programs is:
This package contains simple programs which use libsndfile for operating on sound files.
Programs include:
- sndfile-cmp : compare the audio data of two files
- sndfile-concat : concatenate two or more files
- sndfile-convert : convert between sound file formats
- sndfile-info : print information about files
- sndfile-metadata-get/set : get and set file metadata
- sndfile-play : play a sound file
To fix this problem, we can install more using the command below.
sudo apt-get -y install sndfile-programs
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install sndfile-programs.
sudo apt -y install sndfile-programs
Or if you have aptitude installed you can use the following command.
sudo aptitude install sndfile-programs
Summary
In this tutorial we learn how to fix sndfile-play command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.