beep command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
beep: command not found
or when using sudo you get the following error message
sudo: beep: command not found
Solutions to beep: command not found
How To Fix beep: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu beep is provided by beep package.
beep is:
beep does what you’d expect: it beeps. But unlike printf “\a”, beep allows you to control pitch, duration, and repetitions. Its job is to live inside shell/perl scripts and allow more granularity than one has otherwise. It is controlled completely through command line options. It’s not supposed to be complex, and it isn’t - but it makes system monitoring (or whatever else it gets hacked into) much more informative.
To fix this problem, we can install more using the command below.
sudo apt-get -y install beep
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install beep.
sudo apt -y install beep
Or if you have aptitude installed you can use the following command.
sudo aptitude install beep
Summary
In this tutorial we learn how to fix beep command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.