How To Install libdjvulibre21 on Ubuntu 20.04

In this tutorial we learn how to install libdjvulibre21 on Ubuntu 20.04. libdjvulibre21 is Runtime support for the DjVu image format Runtime support for the DjVu image format

Introduction

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

What is libdjvulibre21

libdjvulibre21 is:

DjVu runtime library. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, kubuntu-full, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: libdjvulibre21 Architecture: amd64 Version: 3.5.27.1-14build1 Multi-Arch: same Priority: optional Section: libs 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: 1743 Depends: libc6 (>= 2.29), libgcc-s1 (>= 3.0), libjpeg8 (>= 8c), libstdc++6 (>= 5), libdjvulibre-text (>= 3.5.27.1-14build1) Conflicts: libdjvulibre1 Replaces: libdjvulibre1, libdjvulibre15 Filename: pool/main/d/djvulibre/libdjvulibre21_3.5.27.1-14build1_amd64.deb Size: 577236 MD5sum: bc1d9030af330f19034fc61020876f8f SHA1: 947b1ac9497715942bdf0599e652b77d6522cc41 SHA256: 4fbe9a88d7b3ae3ecb855c010ecd649fca52afc063a5fc12d797d94ad7685110 Homepage: http://djvu.sourceforge.net/ Description-en: Runtime support for the DjVu image format DjVu runtime library. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, kubuntu-full, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install libdjvulibre21 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 libdjvulibre21 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libdjvulibre21

Install libdjvulibre21 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdjvulibre21

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

sudo aptitude -y install libdjvulibre21

How To Uninstall libdjvulibre21 on Ubuntu 20.04

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

sudo apt-get remove libdjvulibre21

Uninstall libdjvulibre21 And Its Dependencies

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

sudo apt-get -y autoremove libdjvulibre21

Remove libdjvulibre21 Configurations and Data

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

sudo apt-get -y purge libdjvulibre21

Remove libdjvulibre21 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdjvulibre21

References

Summary

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