freeaptxenc command not found

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

Introduction

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

freeaptxenc: command not found

or when using sudo you get the following error message

sudo: freeaptxenc: command not found

Solutions to freeaptxenc: command not found

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

In Ubuntu freeaptxenc is provided by freeaptx-utils package.

freeaptx-utils is:

libfreeaptx is based on version 0.2.0 of libopenaptx with the intent of continuing under a free license without the additional license restriction added to libopenaptx 0.2.1.

This package contains utility tools such as freeaptxdec and freeaptxenc.

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

sudo apt-get -y install freeaptx-utils

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

You can also use apt command to install freeaptx-utils.

sudo apt -y install freeaptx-utils

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

sudo aptitude install freeaptx-utils

Summary

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