How To Install libe-book-dev on Ubuntu 18.04

In this tutorial we learn how to install libe-book-dev on Ubuntu 18.04. libe-book-dev is library for reading and converting various e-book formats

Introduction

In this tutorial we learn how to install libe-book-dev on Ubuntu 18.04.

What is libe-book-dev

libe-book-dev is:

libe-book is a library and a set of tools for reading and converting various non-HTML reflowable e-book formats.

Currently supported are:

  • eReader .pdb
  • FictionBook v. 2 (including zipped files)
  • PalmDoc Ebook
  • Plucker .pdb
  • QiOO (mobile format, for java-enabled cellphones)
  • TCR (simple compressed text format)
  • TealDoc
  • zTXT
  • ZVR (simple compressed text format)

This package contains the development files (headers, …)

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

sudo apt-get -y install libe-book-dev

Install libe-book-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libe-book-dev

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

sudo aptitude -y install libe-book-dev

How To Uninstall libe-book-dev on Ubuntu 18.04

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

sudo apt-get remove libe-book-dev

Uninstall libe-book-dev And Its Dependencies

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

sudo apt-get -y autoremove libe-book-dev

Remove libe-book-dev Configurations and Data

To remove libe-book-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libe-book-dev

Remove libe-book-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libe-book-dev

References

Summary

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