How To Install cl-ironclad on Ubuntu 20.04

In this tutorial we learn how to install cl-ironclad on Ubuntu 20.04. cl-ironclad is cryptographic toolkit written in Common Lisp

Introduction

In this tutorial we learn how to install cl-ironclad on Ubuntu 20.04.

What is cl-ironclad

cl-ironclad is:

Ironclad is a cryptography library written entirely in Common Lisp. It includes support for several popular ciphers, digests, and MACs and public key cryptography algorithms. For several implementations that support Gray Streams, support is included for convenient stream wrappers.

Most of the algorithms were written with efficiency for specific Common Lisp implementations in mind, although portable code is provided as an alternative in nearly all instances. The framework should be flexible enough to accommodate implementation-specific optimizations when possible.

Test vectors for many of the algorithms are included to provide a level of confidence in the correctness of the implementations.

There are three methods to install cl-ironclad on Ubuntu 20.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-ironclad 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-ironclad using apt-get by running the following command:

sudo apt-get -y install cl-ironclad

Install cl-ironclad Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cl-ironclad

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

sudo aptitude -y install cl-ironclad

How To Uninstall cl-ironclad on Ubuntu 20.04

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

sudo apt-get remove cl-ironclad

Uninstall cl-ironclad And Its Dependencies

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

sudo apt-get -y autoremove cl-ironclad

Remove cl-ironclad Configurations and Data

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

sudo apt-get -y purge cl-ironclad

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

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

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

References

Summary

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