How To Install libosptk4 on Ubuntu 18.04

In this tutorial we learn how to install libosptk4 on Ubuntu 18.04. libosptk4 is OSP Toolkit shared library

Introduction

In this tutorial we learn how to install libosptk4 on Ubuntu 18.04.

What is libosptk4

libosptk4 is:

The Open Settlement Protocol (OSP) standard defined by the European Telecommunications Standards Institute (ETSI TS 101 321) www.etsi.org.

The OSP Toolkit is an open source implementation of the OSP peering protocol and is freely available from www.sourceforge.net. It enables applications for secure multi-lateral peering.

libosptk run-time shared library needed by OSP client end applications that use OSP Toolkit.

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

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

sudo apt-get update

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

sudo apt-get -y install libosptk4

Install libosptk4 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libosptk4 using apt by running the following command:

sudo apt -y install libosptk4

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

sudo aptitude -y install libosptk4

How To Uninstall libosptk4 on Ubuntu 18.04

To uninstall only the libosptk4 package we can use the following command:

sudo apt-get remove libosptk4

Uninstall libosptk4 And Its Dependencies

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

sudo apt-get -y autoremove libosptk4

Remove libosptk4 Configurations and Data

To remove libosptk4 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libosptk4

Remove libosptk4 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libosptk4

References

Summary

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