How To Install cl-agnostic-lizard on Ubuntu 22.04

In this tutorial we learn how to install cl-agnostic-lizard on Ubuntu 22.04. cl-agnostic-lizard is best-effort portable code walker for Common Lisp

Introduction

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

What is cl-agnostic-lizard

cl-agnostic-lizard is:

Agnostic Lizard is a portable implementation of a code walker, and in particular of the macroexpand-all function (and macro), which makes a best-effort to be correct, while not expecting much beyond what the Common Lisp standard requires.

It aims to be implementation-agnostic and to climb the syntax trees.

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

sudo apt-get -y install cl-agnostic-lizard

Install cl-agnostic-lizard Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cl-agnostic-lizard

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

sudo aptitude -y install cl-agnostic-lizard

How To Uninstall cl-agnostic-lizard on Ubuntu 22.04

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

sudo apt-get remove cl-agnostic-lizard

Uninstall cl-agnostic-lizard And Its Dependencies

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

sudo apt-get -y autoremove cl-agnostic-lizard

Remove cl-agnostic-lizard Configurations and Data

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

sudo apt-get -y purge cl-agnostic-lizard

Remove cl-agnostic-lizard configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge cl-agnostic-lizard

References

Summary

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