How To Install cl-trivial-features on Kali Linux

In this tutorial we learn how to install cl-trivial-features on Kali Linux. cl-trivial-features is abstraction layer for the FEATURES across Common Lisp implementations

Introduction

In this tutorial we learn how to install cl-trivial-features on Kali Linux.

What is cl-trivial-features

cl-trivial-features is:

trivial-features ensures consistent FEATURES across multiple Common Lisp implementations.

For example, on MacOS X platforms, while most Lisps push :DARWIN to *FEATURES*, CLISP and Allegro push :MACOS and :MACOSX instead, respectively. Some Lisps might not push any feature suggesting MacOS X at all. trivial-features will make sure all Lisps will have :DARWIN in the *FEATURES* list when running on MacOS X. This way, you can write

#+darwin foo #-darwin bar

instead of

#+(or darwin macos macosx) foo
#-(or darwin macos macosx) bar

There are three methods to install cl-trivial-features on Kali Linux. 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-features 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-features using apt-get by running the following command:

sudo apt-get -y install cl-trivial-features

Install cl-trivial-features Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cl-trivial-features

Install cl-trivial-features Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install cl-trivial-features

How To Uninstall cl-trivial-features on Kali Linux

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

sudo apt-get remove cl-trivial-features

Uninstall cl-trivial-features And Its Dependencies

To uninstall cl-trivial-features and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove cl-trivial-features

Remove cl-trivial-features Configurations and Data

To remove cl-trivial-features configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge cl-trivial-features

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

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

sudo apt-get -y autoremove --purge cl-trivial-features

Dependencies

cl-trivial-features have the following dependencies:

References

Summary

In this tutorial we learn how to install cl-trivial-features package on Kali Linux using different package management tools: apt, apt-get and aptitude.