How To Install cl-uuid on Ubuntu 22.04

In this tutorial we learn how to install cl-uuid on Ubuntu 22.04. cl-uuid is Common Lisp librabry for generation of UUIDs as described by RFC 4122

Introduction

In this tutorial we learn how to install cl-uuid on Ubuntu 22.04.

What is cl-uuid

cl-uuid is:

UUID provides methods for the generation of uuids version 1 (time based), 3 (name based with MD5 hashing), 5 (name based with SHA1 hashing) and 4 (random uuids).

There are three methods to install cl-uuid on Ubuntu 22.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 cl-uuid Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install cl-uuid

Install cl-uuid Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cl-uuid

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

sudo aptitude -y install cl-uuid

How To Uninstall cl-uuid on Ubuntu 22.04

To uninstall only the cl-uuid package we can use the following command:

sudo apt-get remove cl-uuid

Uninstall cl-uuid And Its Dependencies

To uninstall cl-uuid and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove cl-uuid

Remove cl-uuid Configurations and Data

To remove cl-uuid configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge cl-uuid

Remove cl-uuid configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge cl-uuid

References

Summary

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