How To Install libept-dev on Ubuntu 18.04

In this tutorial we learn how to install libept-dev on Ubuntu 18.04. libept-dev is High-level library for managing Debian package information

Introduction

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

What is libept-dev

libept-dev is:

The library defines a very minimal framework in which many sources of data about Debian packages can be implemented and queried together.

The library includes four data sources:

  • APT: access the APT database
  • Debtags: access the Debtags tag information
  • Popcon: access Popcon package scores
  • The Xapian index built by apt-xapian-index

This is the development library.

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

sudo apt-get -y install libept-dev

Install libept-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libept-dev

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

sudo aptitude -y install libept-dev

How To Uninstall libept-dev on Ubuntu 18.04

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

sudo apt-get remove libept-dev

Uninstall libept-dev And Its Dependencies

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

sudo apt-get -y autoremove libept-dev

Remove libept-dev Configurations and Data

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

sudo apt-get -y purge libept-dev

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

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

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

References

Summary

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