How To Install libepr-api-dev on Ubuntu 18.04

In this tutorial we learn how to install libepr-api-dev on Ubuntu 18.04. libepr-api-dev is ENVISAT Product Reader API for C - Development files

Introduction

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

What is libepr-api-dev

libepr-api-dev is:

The ENVISAT Product Reader API is a set of C-source code files supporting developers who want to use MERIS, AATSR, and ASAR data products of the ESA ENVISAT satellite in their software.

The main use case for the C API is the ingestion of ENVISAT data into

  • new scientific algorithms developed for the MERIS, AATSR or ASAR sensors or even all of them,
  • existing scientific software packages written in C or C++, or COTS software systems which allow for extension using a C or C++ interface.

This package contains development files (headers and static libraries).

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

sudo apt-get -y install libepr-api-dev

Install libepr-api-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libepr-api-dev

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

sudo aptitude -y install libepr-api-dev

How To Uninstall libepr-api-dev on Ubuntu 18.04

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

sudo apt-get remove libepr-api-dev

Uninstall libepr-api-dev And Its Dependencies

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

sudo apt-get -y autoremove libepr-api-dev

Remove libepr-api-dev Configurations and Data

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

sudo apt-get -y purge libepr-api-dev

Remove libepr-api-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libepr-api-dev

References

Summary

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