How To Install libossp-uuid-perl on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
3 minutes • 510 words
Introduction
In this tutorial we learn how to install libossp-uuid-perl
on Ubuntu.
What is libossp-uuid-perl
libossp-uuid-perl 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.
OSSP::uuid provides two Perl APIs:
The OO-style API is a wrapper around the C-style API and intended for high-level and regular programming.
The C-style API is a direct mapping of the OSSP uuid ISO-C API to Perl and is intended for low-level programming.
The Debian package provides also Data::UUID interface so OSSP::uuid can be used as free replacement for non-DFSG Perl module.
There are three methods to install libossp-uuid-perl
on Ubuntu. 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-uuid-perl 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-uuid-perl
using apt-get
by running the following command:
sudo apt-get -y install libossp-uuid-perl
Install libossp-uuid-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libossp-uuid-perl
using apt
by running the following command:
sudo apt -y install libossp-uuid-perl
Install libossp-uuid-perl 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-uuid-perl
using aptitude
by running the following command:
sudo aptitude -y install libossp-uuid-perl
How To Uninstall libossp-uuid-perl on Ubuntu
To uninstall only the libossp-uuid-perl
package we can use the following command:
sudo apt-get remove libossp-uuid-perl
Uninstall libossp-uuid-perl And Its Dependencies
To uninstall libossp-uuid-perl
and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove libossp-uuid-perl
Remove libossp-uuid-perl Configurations and Data
To remove libossp-uuid-perl
configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge libossp-uuid-perl
Remove libossp-uuid-perl configuration, data, and all of its dependencies
We can use the following command to remove libossp-uuid-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libossp-uuid-perl
Dependencies
libossp-uuid-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libossp-uuid-perl
package on Ubuntu using different package management tools: apt, apt-get and aptitude.