gsound-play command not found

In this troubleshooting guide we learn how to fix gsound-play command not found error message

Introduction

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

gsound-play: command not found

or when using sudo you get the following error message

sudo: gsound-play: command not found

Solutions to gsound-play: command not found

How To Fix gsound-play: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gsound-play is provided by gsound-tools package.

gsound-tools is:

GSound is a small library for playing system sounds. It’s designed to be used via GObject Introspection, and is a thin wrapper around the libcanberra C library.

This package contains tools for use with GSound.

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

sudo apt-get -y install gsound-tools

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

You can also use apt command to install gsound-tools.

sudo apt -y install gsound-tools

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

sudo aptitude install gsound-tools

Summary

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