How To Install cl-utilities on Ubuntu 20.04

In this tutorial we learn how to install cl-utilities on Ubuntu 20.04. cl-utilities is collection of Common Lisp utilities

Introduction

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

What is cl-utilities

cl-utilities is:

On Cliki.net http://www.cliki.net/Common%20Lisp%20Utilities, there is a collection of Common Lisp Utilities, things that everybody writes since they’re not part of the official standard. There are some very useful things there; the only problems are that they aren’t implemented as well as you’d like (some aren’t implemented at all) and they aren’t conveniently packaged and maintained. It takes quite a bit of work to carefully implement utilities for common use, commented and documented, with error checking placed everywhere some dumb user might make a mistake.

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

sudo apt-get -y install cl-utilities

Install cl-utilities Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cl-utilities

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

sudo aptitude -y install cl-utilities

How To Uninstall cl-utilities on Ubuntu 20.04

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

sudo apt-get remove cl-utilities

Uninstall cl-utilities And Its Dependencies

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

sudo apt-get -y autoremove cl-utilities

Remove cl-utilities Configurations and Data

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

sudo apt-get -y purge cl-utilities

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

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

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

References

Summary

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