How To Install hol-light on Debian 9

In this tutorial we learn how to install hol-light on Debian 9. hol-light is HOL Light theorem prover

Introduction

In this tutorial we learn how to install hol-light on Debian 9.

What is hol-light

hol-light is:

HOL Light is an interactive theorem prover for Higher-Order Logic with a very simple logical core running in an OCaml toplevel. HOL Light is famous for the verification of floating-point arithmetic as well as for the Flyspeck project, which aims at the formalization of Tom Hales’ proof of the Kepler conjecture.

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

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

sudo apt-get update

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

sudo apt-get -y install hol-light

Install hol-light Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install hol-light

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

sudo aptitude -y install hol-light

How To Uninstall hol-light on Debian 9

To uninstall only the hol-light package we can use the following command:

sudo apt-get remove hol-light

Uninstall hol-light And Its Dependencies

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

sudo apt-get -y autoremove hol-light

Remove hol-light Configurations and Data

To remove hol-light configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge hol-light

Remove hol-light configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge hol-light

Dependencies

hol-light have the following dependencies:

References

Summary

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