How To Install cl-clx-sbcl on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 391 words
Introduction
In this tutorial we learn how to install cl-clx-sbcl on Ubuntu.
What is cl-clx-sbcl
cl-clx-sbcl is:
CLX is a low-level X11 client library for Common Lisp. CLX is to Lisp what Xlib is to C.
This version of CLX originated in a CMUCL distribution, was modified in order to make it compile and run under SBCL and was enhanced with some features from other CLX implementations. It currently runs only on SBCL, but it might be ported to other Common Lisp implementations.
There are three methods to install cl-clx-sbcl on Ubuntu. 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-clx-sbcl 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-clx-sbcl using apt-get by running the following command:
sudo apt-get -y install cl-clx-sbcl
Install cl-clx-sbcl Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install cl-clx-sbcl using apt by running the following command:
sudo apt -y install cl-clx-sbcl
Install cl-clx-sbcl 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-clx-sbcl using aptitude by running the following command:
sudo aptitude -y install cl-clx-sbcl
How To Uninstall cl-clx-sbcl on Ubuntu
To uninstall only the cl-clx-sbcl package we can use the following command:
sudo apt-get remove cl-clx-sbcl
Uninstall cl-clx-sbcl And Its Dependencies
To uninstall cl-clx-sbcl and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove cl-clx-sbcl
Remove cl-clx-sbcl Configurations and Data
To remove cl-clx-sbcl configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge cl-clx-sbcl
Remove cl-clx-sbcl configuration, data, and all of its dependencies
We can use the following command to remove cl-clx-sbcl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge cl-clx-sbcl
Dependencies
cl-clx-sbcl have the following dependencies:
References
Summary
In this tutorial we learn how to install cl-clx-sbcl package on Ubuntu using different package management tools: apt, apt-get and aptitude.