How To Install libtiff5-dev on Ubuntu 20.04

In this tutorial we learn how to install libtiff5-dev on Ubuntu 20.04. libtiff5-dev is Tag Image File Format library (TIFF), development files (transitional package) Tag Image File Format library (TIFF), development files (transitional package)

Introduction

In this tutorial we learn how to install libtiff5-dev on Ubuntu 20.04.

What is libtiff5-dev

libtiff5-dev is:

libtiff is a library providing support for the Tag Image File Format (TIFF), a widely used format for storing image data. This package includes the development files, static library, and header files.

This is a transitional package. It can safely be removed.

Package: libtiff5-dev Architecture: amd64 Version: 4.1.0+git191117-2build1 Priority: optional Section: libdevel Source: tiff Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Laszlo Boszormenyi (GCS) [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 23 Depends: libtiff-dev (>= 4.0.10-1) Recommends: pkg-config Filename: pool/main/t/tiff/libtiff5-dev_4.1.0+git191117-2build1_amd64.deb Size: 2260 MD5sum: 69694c4fb4237cbdbf9ec5a72068d2d3 SHA1: 5863697469042af82d0e0ac9a35449cafaf12e5d SHA256: 4389271d23727cbffc7c4f9c408d0b2a35ea0b0b6fc97f17e7a39e3b75c06c1a Homepage: https://libtiff.gitlab.io/libtiff/ Description-en: Tag Image File Format library (TIFF), development files (transitional package) libtiff is a library providing support for the Tag Image File Format (TIFF), a widely used format for storing image data. This package includes the development files, static library, and header files.

This is a transitional package. It can safely be removed.

There are three methods to install libtiff5-dev on Ubuntu 20.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 libtiff5-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 libtiff5-dev using apt-get by running the following command:

sudo apt-get -y install libtiff5-dev

Install libtiff5-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtiff5-dev

Install libtiff5-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 libtiff5-dev using aptitude by running the following command:

sudo aptitude -y install libtiff5-dev

How To Uninstall libtiff5-dev on Ubuntu 20.04

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

sudo apt-get remove libtiff5-dev

Uninstall libtiff5-dev And Its Dependencies

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

sudo apt-get -y autoremove libtiff5-dev

Remove libtiff5-dev Configurations and Data

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

sudo apt-get -y purge libtiff5-dev

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

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

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

References

Summary

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