How To Install cl-bordeaux-threads on Debian 9

In this tutorial we learn how to install cl-bordeaux-threads on Debian 9. cl-bordeaux-threads is Portable shared-state concurrency for Common Lisp

Introduction

In this tutorial we learn how to install cl-bordeaux-threads on Debian 9.

What is cl-bordeaux-threads

cl-bordeaux-threads is:

BORDEAUX-THREADS is a proposed standard for a minimal MP/Threading interface.

It essentially provides a compatibility layer for multi-threading accross multiple CL implementations.

Some parts of it’s implementation-specific code can also be implemented in a Lisp that does not support multiple threads, so that thread-safe code can be compiled on both multithread and single-thread implementations without need of conditionals.

There are three methods to install cl-bordeaux-threads on Debian 9. 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-bordeaux-threads 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-bordeaux-threads using apt-get by running the following command:

sudo apt-get -y install cl-bordeaux-threads

Install cl-bordeaux-threads Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cl-bordeaux-threads

Install cl-bordeaux-threads 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install cl-bordeaux-threads

How To Uninstall cl-bordeaux-threads on Debian 9

To uninstall only the cl-bordeaux-threads package we can use the following command:

sudo apt-get remove cl-bordeaux-threads

Uninstall cl-bordeaux-threads And Its Dependencies

To uninstall cl-bordeaux-threads and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove cl-bordeaux-threads

Remove cl-bordeaux-threads Configurations and Data

To remove cl-bordeaux-threads configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge cl-bordeaux-threads

Remove cl-bordeaux-threads configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge cl-bordeaux-threads

Dependencies

cl-bordeaux-threads have the following dependencies:

References

Summary

In this tutorial we learn how to install cl-bordeaux-threads package on Debian 9 using different package management tools: apt, apt-get and aptitude.