How To Install cl-trivial-macroexpand-all on Ubuntu 22.04

In this tutorial we learn how to install cl-trivial-macroexpand-all on Ubuntu 22.04. cl-trivial-macroexpand-all is macroexpand-all function which calls implementation-specific equivalent

Introduction

In this tutorial we learn how to install cl-trivial-macroexpand-all on Ubuntu 22.04.

What is cl-trivial-macroexpand-all

cl-trivial-macroexpand-all is:

Provides a macroexpand-all function that calls the implementation specific equivalent. This small library is one way to deal with the fact that the ANSI Common Lisp standard does not provide quite enough facilities to do completely reliable code walking.

Supported Common Lisp implementations: abcl, allegro, ccl, clisp, cmucl, corman, lispworks, mkcl, sbcl, ecl & scl.

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

sudo apt-get -y install cl-trivial-macroexpand-all

Install cl-trivial-macroexpand-all Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cl-trivial-macroexpand-all

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

sudo aptitude -y install cl-trivial-macroexpand-all

How To Uninstall cl-trivial-macroexpand-all on Ubuntu 22.04

To uninstall only the cl-trivial-macroexpand-all package we can use the following command:

sudo apt-get remove cl-trivial-macroexpand-all

Uninstall cl-trivial-macroexpand-all And Its Dependencies

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

sudo apt-get -y autoremove cl-trivial-macroexpand-all

Remove cl-trivial-macroexpand-all Configurations and Data

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

sudo apt-get -y purge cl-trivial-macroexpand-all

Remove cl-trivial-macroexpand-all configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge cl-trivial-macroexpand-all

References

Summary

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