How To Install libcoq-stdpp on Debian 12
Introduction
In this tutorial we learn how to install libcoq-stdpp
on Debian 12.
What is libcoq-stdpp
libcoq-stdpp is:
This package provides an extended standard library for Coq, for instance:
- a great number of definitions and lemmas for common data structures like lists, finite maps and finite multisets ;
- type classes for common properties like decidable equality, finiteness or countability ;
- various tactics for common tasks ; all of this dependency-free and axiom-free.
Coq is a proof assistant for higher-order logic.
There are three methods to install libcoq-stdpp
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libcoq-stdpp Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libcoq-stdpp
using apt-get
by running the following command:
sudo apt-get -y install libcoq-stdpp
Install libcoq-stdpp Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libcoq-stdpp
using apt
by running the following command:
sudo apt -y install libcoq-stdpp
Install libcoq-stdpp 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 libcoq-stdpp
using aptitude
by running the following command:
sudo aptitude -y install libcoq-stdpp
How To Uninstall libcoq-stdpp on Debian 12
To uninstall only the libcoq-stdpp
package we can use the following command:
sudo apt-get remove libcoq-stdpp
Uninstall libcoq-stdpp And Its Dependencies
To uninstall libcoq-stdpp
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove libcoq-stdpp
Remove libcoq-stdpp Configurations and Data
To remove libcoq-stdpp
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge libcoq-stdpp
Remove libcoq-stdpp configuration, data, and all of its dependencies
We can use the following command to remove libcoq-stdpp
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcoq-stdpp
Dependencies
libcoq-stdpp have the following dependencies:
References
Summary
In this tutorial we learn how to install libcoq-stdpp
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.