How To Install libossp-uuid16 on Ubuntu 18.04

In this tutorial we learn how to install libossp-uuid16 on Ubuntu 18.04. libossp-uuid16 is OSSP uuid ISO-C and C++ - shared library

Introduction

In this tutorial we learn how to install libossp-uuid16 on Ubuntu 18.04.

What is libossp-uuid16

libossp-uuid16 is:

OSSP uuid is an ISO-C and Perl application programming interface (API) and corresponding command line interface (CLI) for the generation of DCE 1.1 and ISO/IEC 11578:1996 compliant Universally Unique Identifier (UUID). It supports DCE 1.1 variant UUIDs of version 1 (time and node based), version 3 (name based) and version 4 (random number based).

UUIDs are 128 bit numbers which are intended to have a high likelihood of uniqueness over space and time and are computationally difficult to guess. They are globally unique identifiers which can be locally generated without contacting a global registration authority. UUIDs are intended as unique identifiers for both mass tagging objects with an extremely short lifetime and to reliably identifying very persistent objects across a network.

This package contains the shared library.

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

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

sudo apt-get update

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

sudo apt-get -y install libossp-uuid16

Install libossp-uuid16 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libossp-uuid16

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

sudo aptitude -y install libossp-uuid16

How To Uninstall libossp-uuid16 on Ubuntu 18.04

To uninstall only the libossp-uuid16 package we can use the following command:

sudo apt-get remove libossp-uuid16

Uninstall libossp-uuid16 And Its Dependencies

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

sudo apt-get -y autoremove libossp-uuid16

Remove libossp-uuid16 Configurations and Data

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

sudo apt-get -y purge libossp-uuid16

Remove libossp-uuid16 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libossp-uuid16

References

Summary

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