nvcompress command not found

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

Introduction

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

nvcompress: command not found

or when using sudo you get the following error message

sudo: nvcompress: command not found

Solutions to nvcompress: command not found

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

In Ubuntu nvcompress is provided by libnvtt-bin package.

libnvtt-bin is:

NVIDIA Texture Tools is a collection of image processing and texture manipulation tools, designed to be integrated in game tools and asset conditioning pipelines. The primary features of the library are mipmap and normal map generation, format conversion and DXT compression.

This package contains the nvidia texture tools.

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

sudo apt-get -y install libnvtt-bin

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

You can also use apt command to install libnvtt-bin.

sudo apt -y install libnvtt-bin

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

sudo aptitude install libnvtt-bin

Summary

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