How To Install libdjvulibre-dev on Ubuntu 20.04

In this tutorial we learn how to install libdjvulibre-dev on Ubuntu 20.04. libdjvulibre-dev is Development files for the DjVu image format Development files for the DjVu image format

Introduction

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

What is libdjvulibre-dev

libdjvulibre-dev is:

DjVu image format static library and development files.

DjVu is a set of compression technologies, a file format, and a software platform for the delivery over the Web of digital documents, scanned documents, and high resolution images.

DjVu documents download and display extremely quickly, and look exactly the same on all platforms. DjVu can be seen as a superior alternative to PDF and Postscript for digital documents, to TIFF (and PDF) for scanned documents, to JPEG for photographs and pictures, and to GIF for large palettized images. DjVu is the only Web format that is practical for distributing high-resolution scanned documents in color.

Package: libdjvulibre-dev Architecture: amd64 Version: 3.5.27.1-14build1 Multi-Arch: same Priority: optional Section: devel Source: djvulibre Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Barak A. Pearlmutter [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 6146 Depends: libdjvulibre21 (= 3.5.27.1-14build1), libjpeg-dev Filename: pool/main/d/djvulibre/libdjvulibre-dev_3.5.27.1-14build1_amd64.deb Size: 2387880 MD5sum: 1e42055a704ed976b6cd48c532d57aa4 SHA1: d3c6af65a0ed3daecff66d087ae43710263e7663 SHA256: 7dbb43af83b2b4705def925c14c111bd7ea308b9fad43618f441339df89f1e04 Homepage: http://djvu.sourceforge.net/ Description-en: Development files for the DjVu image format DjVu image format static library and development files.

DjVu is a set of compression technologies, a file format, and a software platform for the delivery over the Web of digital documents, scanned documents, and high resolution images.

DjVu documents download and display extremely quickly, and look exactly the same on all platforms. DjVu can be seen as a superior alternative to PDF and Postscript for digital documents, to TIFF (and PDF) for scanned documents, to JPEG for photographs and pictures, and to GIF for large palettized images. DjVu is the only Web format that is practical for distributing high-resolution scanned documents in color.

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

sudo apt-get -y install libdjvulibre-dev

Install libdjvulibre-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdjvulibre-dev

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

sudo aptitude -y install libdjvulibre-dev

How To Uninstall libdjvulibre-dev on Ubuntu 20.04

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

sudo apt-get remove libdjvulibre-dev

Uninstall libdjvulibre-dev And Its Dependencies

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

sudo apt-get -y autoremove libdjvulibre-dev

Remove libdjvulibre-dev Configurations and Data

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

sudo apt-get -y purge libdjvulibre-dev

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

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

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

References

Summary

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