How To Install libgepub-dev on Debian 9

In this tutorial we learn how to install libgepub-dev on Debian 9. libgepub-dev is library to read epub files (development files)

Introduction

In this tutorial we learn how to install libgepub-dev on Debian 9.

What is libgepub-dev

libgepub-dev is:

libgepub is a GObject based library for handling and rendering epub documents.

This package contains the headers for the C library.

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

Install libgepub-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 libgepub-dev using apt-get by running the following command:

sudo apt-get -y install libgepub-dev

Install libgepub-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgepub-dev

Install libgepub-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libgepub-dev

How To Uninstall libgepub-dev on Debian 9

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

sudo apt-get remove libgepub-dev

Uninstall libgepub-dev And Its Dependencies

To uninstall libgepub-dev and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libgepub-dev

Remove libgepub-dev Configurations and Data

To remove libgepub-dev configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libgepub-dev

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

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

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

Dependencies

libgepub-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libgepub-dev package on Debian 9 using different package management tools: apt, apt-get and aptitude.