How To Install libepc-common on Ubuntu 18.04

In this tutorial we learn how to install libepc-common on Ubuntu 18.04. libepc-common is Easy Publish and Consume library - data files

Introduction

In this tutorial we learn how to install libepc-common on Ubuntu 18.04.

What is libepc-common

libepc-common is:

The Easy Publish and Consume library provides an easy method to publish data per HTTPS announce that information via DNS-SD, find that information and finally consume it.

You can use this library as key/value store published to the network, using encryption, authentication and service discovery.

This package contains the data files for the shared libraries

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

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

sudo apt-get update

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

sudo apt-get -y install libepc-common

Install libepc-common Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libepc-common

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

sudo aptitude -y install libepc-common

How To Uninstall libepc-common on Ubuntu 18.04

To uninstall only the libepc-common package we can use the following command:

sudo apt-get remove libepc-common

Uninstall libepc-common And Its Dependencies

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

sudo apt-get -y autoremove libepc-common

Remove libepc-common Configurations and Data

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

sudo apt-get -y purge libepc-common

Remove libepc-common configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libepc-common

References

Summary

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