How To Install cl-trivial-features on Ubuntu 18.04

In this tutorial we learn how to install cl-trivial-features on Ubuntu 18.04. cl-trivial-features is An abstraction layer for the features that implementations use

Introduction

In this tutorial we learn how to install cl-trivial-features on Ubuntu 18.04.

What is cl-trivial-features

cl-trivial-features is:

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

There are three methods to install cl-trivial-features on Ubuntu 18.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-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 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-features using aptitude by running the following command:

sudo aptitude -y install cl-trivial-features

How To Uninstall cl-trivial-features on Ubuntu 18.04

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 Ubuntu 18.04, 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 Ubuntu 18.04 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

References

Summary

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