mocp command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mocp: command not found
or when using sudo you get the following error message
sudo: mocp: command not found
Solutions to mocp: command not found
How To Fix mocp: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mocp is provided by moc package.
moc is:
moc (music on console) is a full-screen player designed to be powerful and easy to use.
Supported file formats are: MP3, OGG Vorbis, FLAC, OPUS, WAVE, SPEEX, Musepack (MPC), AIFF, AU (and other less popular formats supported by libsndfile). New formats support is under development.
Other features: simple mixer, colour themes, searching the menu (the playlist or a directory) like M-s in Midnight Commander, the way MOC creates titles from tags is configurable, optional character set conversion for file tags using iconv(), OSS or ALSA output.
To fix this problem, we can install more using the command below.
sudo apt-get -y install moc
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install moc.
sudo apt -y install moc
Or if you have aptitude installed you can use the following command.
sudo aptitude install moc
Summary
In this tutorial we learn how to fix mocp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.