How To Install hyperspec on Ubuntu 22.04

In this tutorial we learn how to install hyperspec on Ubuntu 22.04. hyperspec is Common Lisp ANSI-standard Hyperspec

Introduction

In this tutorial we learn how to install hyperspec on Ubuntu 22.04.

What is hyperspec

hyperspec is:

This is a installer package for the html-ed version of the ANSI standard for Common Lisp. Note that these pages are only FYI and are not valid as a reference. But for all intents and purposes this is a good enough reference for daily work.

There are three methods to install hyperspec on Ubuntu 22.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 hyperspec Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install hyperspec

Install hyperspec Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install hyperspec using apt by running the following command:

sudo apt -y install hyperspec

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

sudo aptitude -y install hyperspec

How To Uninstall hyperspec on Ubuntu 22.04

To uninstall only the hyperspec package we can use the following command:

sudo apt-get remove hyperspec

Uninstall hyperspec And Its Dependencies

To uninstall hyperspec and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove hyperspec

Remove hyperspec Configurations and Data

To remove hyperspec configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge hyperspec

Remove hyperspec configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge hyperspec

References

Summary

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