How To Install cl-curry-compose-reader-macros on Ubuntu 22.04

In this tutorial we learn how to install cl-curry-compose-reader-macros on Ubuntu 22.04. cl-curry-compose-reader-macros is Reader macros for function partial application and composition.

Introduction

In this tutorial we learn how to install cl-curry-compose-reader-macros on Ubuntu 22.04.

What is cl-curry-compose-reader-macros

cl-curry-compose-reader-macros is:

These reader macros expand into the curry, rcurry and compose functions from the Alexandria library. The contents of curly brackets are curried and the contents of square brackets are composed. The _ symbol inside curly brackets changes the order of arguments with rcurry.

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

sudo apt-get -y install cl-curry-compose-reader-macros

Install cl-curry-compose-reader-macros Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install cl-curry-compose-reader-macros using apt by running the following command:

sudo apt -y install cl-curry-compose-reader-macros

Install cl-curry-compose-reader-macros 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-curry-compose-reader-macros using aptitude by running the following command:

sudo aptitude -y install cl-curry-compose-reader-macros

How To Uninstall cl-curry-compose-reader-macros on Ubuntu 22.04

To uninstall only the cl-curry-compose-reader-macros package we can use the following command:

sudo apt-get remove cl-curry-compose-reader-macros

Uninstall cl-curry-compose-reader-macros And Its Dependencies

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

sudo apt-get -y autoremove cl-curry-compose-reader-macros

Remove cl-curry-compose-reader-macros Configurations and Data

To remove cl-curry-compose-reader-macros configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge cl-curry-compose-reader-macros

Remove cl-curry-compose-reader-macros configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge cl-curry-compose-reader-macros

References

Summary

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