How To Install libnvtt-dev on Ubuntu 18.04

In this tutorial we learn how to install libnvtt-dev on Ubuntu 18.04. libnvtt-dev is NVIDIA Texture Tools (Header)

Introduction

In this tutorial we learn how to install libnvtt-dev on Ubuntu 18.04.

What is libnvtt-dev

libnvtt-dev 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 header and development files needed to build programs and packages using libnvtt.

There are three methods to install libnvtt-dev on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libnvtt-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libnvtt-dev using apt-get by running the following command:

sudo apt-get -y install libnvtt-dev

Install libnvtt-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libnvtt-dev using apt by running the following command:

sudo apt -y install libnvtt-dev

Install libnvtt-dev Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libnvtt-dev using aptitude by running the following command:

sudo aptitude -y install libnvtt-dev

How To Uninstall libnvtt-dev on Ubuntu 18.04

To uninstall only the libnvtt-dev package we can use the following command:

sudo apt-get remove libnvtt-dev

Uninstall libnvtt-dev And Its Dependencies

To uninstall libnvtt-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libnvtt-dev

Remove libnvtt-dev Configurations and Data

To remove libnvtt-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libnvtt-dev

Remove libnvtt-dev configuration, data, and all of its dependencies

We can use the following command to remove libnvtt-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libnvtt-dev

References

Summary

In this tutorial we learn how to install libnvtt-dev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.