How To Install common-lisp-controller on Ubuntu 18.04

In this tutorial we learn how to install common-lisp-controller on Ubuntu 18.04. common-lisp-controller is Common Lisp source and compiler manager

Introduction

In this tutorial we learn how to install common-lisp-controller on Ubuntu 18.04.

What is common-lisp-controller

common-lisp-controller is:

This package helps installing Common Lisp sources and compilers.

It creates a user-specific cache of compiled objects. When a library or an implementation is upgraded, all compiled objects in the cache are flushed. It also provides tools to recompile all libraries and to generate Debian packages from asdf-install packages.

Also includes clc-clbuild, a wrapper for clbuild. Please see http://common-lisp.net/project/clbuild/ for more information.

This package also contains a wrapper to invoke emacs with a clbuild provided slime environment.

There are three methods to install common-lisp-controller 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 common-lisp-controller Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install common-lisp-controller using apt-get by running the following command:

sudo apt-get -y install common-lisp-controller

Install common-lisp-controller Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install common-lisp-controller using apt by running the following command:

sudo apt -y install common-lisp-controller

Install common-lisp-controller 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 common-lisp-controller using aptitude by running the following command:

sudo aptitude -y install common-lisp-controller

How To Uninstall common-lisp-controller on Ubuntu 18.04

To uninstall only the common-lisp-controller package we can use the following command:

sudo apt-get remove common-lisp-controller

Uninstall common-lisp-controller And Its Dependencies

To uninstall common-lisp-controller and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove common-lisp-controller

Remove common-lisp-controller Configurations and Data

To remove common-lisp-controller configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge common-lisp-controller

Remove common-lisp-controller configuration, data, and all of its dependencies

We can use the following command to remove common-lisp-controller configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge common-lisp-controller

References

Summary

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