How To Install clisp-doc on Ubuntu 18.04

In this tutorial we learn how to install clisp-doc on Ubuntu 18.04. clisp-doc is GNU CLISP, a Common Lisp implementation (documentation)

Introduction

In this tutorial we learn how to install clisp-doc on Ubuntu 18.04.

What is clisp-doc

clisp-doc is:

This is the documentation for clisp.

ANSI Common Lisp is a high-level, general-purpose programming language. GNU CLISP is a Common Lisp implementation by Bruno Haible of Karlsruhe University and Michael Stoll of Munich University, both in Germany. It mostly supports the Lisp described in the ANSI Common Lisp standard. It runs on most Unix workstations (GNU/Linux, FreeBSD, NetBSD, OpenBSD, Solaris, Tru64, HP-UX, BeOS, NeXTstep, IRIX, AIX and others) and on other systems (Windows NT/2000/XP, Windows 95/98/ME) and needs only 4 MB of RAM.

There are three methods to install clisp-doc 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 clisp-doc Using apt-get

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

sudo apt-get update

After updating apt database, We can install clisp-doc using apt-get by running the following command:

sudo apt-get -y install clisp-doc

Install clisp-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install clisp-doc using apt by running the following command:

sudo apt -y install clisp-doc

Install clisp-doc 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 clisp-doc using aptitude by running the following command:

sudo aptitude -y install clisp-doc

How To Uninstall clisp-doc on Ubuntu 18.04

To uninstall only the clisp-doc package we can use the following command:

sudo apt-get remove clisp-doc

Uninstall clisp-doc And Its Dependencies

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

sudo apt-get -y autoremove clisp-doc

Remove clisp-doc Configurations and Data

To remove clisp-doc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge clisp-doc

Remove clisp-doc configuration, data, and all of its dependencies

We can use the following command to remove clisp-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge clisp-doc

References

Summary

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