How To Install libtiff5 on Ubuntu 20.04

In this tutorial we learn how to install libtiff5 on Ubuntu 20.04. libtiff5 is Tag Image File Format (TIFF) library Tag Image File Format (TIFF) library

Introduction

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

What is libtiff5

libtiff5 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 shared library. Task: print-server, ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: libtiff5 Architecture: amd64 Version: 4.1.0+git191117-2build1 Multi-Arch: same Priority: optional Section: libs 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: 552 Depends: libc6 (>= 2.29), libjbig0 (>= 2.0), libjpeg8 (>= 8c), liblzma5 (>= 5.1.1alpha+20120614), libwebp6 (>= 0.5.1), libzstd1 (>= 1.3.2), zlib1g (>= 1:1.1.4) Filename: pool/main/t/tiff/libtiff5_4.1.0+git191117-2build1_amd64.deb Size: 161488 MD5sum: dd15dffd135bf4c615d999cbb6c56cbe SHA1: 2710aa646182b3e10323a04c61af33488af08533 SHA256: ac5c7a41fb63219c33111e5d66a333e8e55018cc550723629e7913feb0ab7621 Homepage: https://libtiff.gitlab.io/libtiff/ Description-en: Tag Image File Format (TIFF) library 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 shared library. Task: print-server, ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

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

sudo apt-get -y install libtiff5

Install libtiff5 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtiff5

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

sudo aptitude -y install libtiff5

How To Uninstall libtiff5 on Ubuntu 20.04

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

sudo apt-get remove libtiff5

Uninstall libtiff5 And Its Dependencies

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

sudo apt-get -y autoremove libtiff5

Remove libtiff5 Configurations and Data

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

sudo apt-get -y purge libtiff5

Remove libtiff5 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtiff5

References

Summary

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