mailsound command not found

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

Introduction

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

mailsound: command not found

or when using sudo you get the following error message

sudo: mailsound: command not found

Solutions to mailsound: command not found

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

In Ubuntu mailsound is provided by rplay-contrib package.

rplay-contrib is:

Contains mailsounds and Mailsounds each of which can be used to play sounds on a system when new mail arrives.

RPlay allows sounds to be played to and from local and remote Unix systems. Sounds can be played with or without sending audio data over the network using either UDP or TCP/IP. RPlay audio servers can be configured to share sound files with each other.

Support for RPlay is included in several applications. These include xpilot, xlockmore, xboing, fvwm, and ctwm.

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

sudo apt-get -y install rplay-contrib

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

You can also use apt command to install rplay-contrib.

sudo apt -y install rplay-contrib

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

sudo aptitude install rplay-contrib

Summary

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