openaptxenc command not found

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

Introduction

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

openaptxenc: command not found

or when using sudo you get the following error message

sudo: openaptxenc: command not found

Solutions to openaptxenc: command not found

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

In Ubuntu openaptxenc is provided by openaptx-utils package.

openaptx-utils is:

Support for aptX and aptX HD codec variants; they both operate on raw 24-bit signed stereo audio sample; at 6:1 fixed compress ratio for aptX; at 4:1 fixed compress ratio for aptX HD.

This package contains the simple openaptxenc and openaptxdec utilities.

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

sudo apt-get -y install openaptx-utils

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

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

sudo apt -y install openaptx-utils

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

sudo aptitude install openaptx-utils

Summary

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