mpcenc command not found

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

Introduction

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

mpcenc: command not found

or when using sudo you get the following error message

sudo: mpcenc: command not found

Solutions to mpcenc: command not found

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

In Ubuntu mpcenc is provided by musepack-tools package.

musepack-tools is:

Musepack is an audio compression format with a strong emphasis on high quality. It’s not lossless, but it is designed for transparency, so that you won’t be able to hear differences between the original wave file and the much smaller MPC file.

It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it has rapidly developed and vastly improved and is now at an advanced stage in which it contains heavily optimized and patentless code.

This package contains various commandline utilities for MusePack files:

  • mpcenc (encoder)
  • mpcdec (decoder)
  • mpccut (cut MPC files without reencoding)
  • mpcgain (gain calculation)
  • mpc2sv8 (conversion to MusePack SV8 from older SV)

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

sudo apt-get -y install musepack-tools

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

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

sudo apt -y install musepack-tools

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

sudo aptitude install musepack-tools

Summary

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