How To Install libppx-tools-versioned-ocaml-doc on Debian 10
Introduction
In this tutorial we learn how to install libppx-tools-versioned-ocaml-doc
on Debian 10.
What is libppx-tools-versioned-ocaml-doc
libppx-tools-versioned-ocaml-doc is:
A variant of ppx-tools based on ocaml-migrate-parsetree.
It includes tools for authors of syntactic tools (such as ppx rewriters):
- ppx_metaquot: a ppx filter to help writing programs which manipulate the Parsetree, by allowing the programmer to use concrete syntax for expressions creating Parsetree fragments and patterns deconstructing Parsetree fragments;
- rewriter: a utility to help testing ppx rewriters that runs the rewriter on user-provided code and returns the result;
- Ast_mapper_class: a generic mapper from Parsetree to Parsetree implementing a deep identity copy, which can be customized with a custom behavior for each syntactic category;
- dumpast: parses fragments of OCaml code (or entire source files) and dump the resulting internal Parsetree representation;
- genlifter: generates a virtual “lifter” class for one or several OCaml type constructors.
This package contains documentation for ppx-tools-versioned in html format.
There are three methods to install libppx-tools-versioned-ocaml-doc
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libppx-tools-versioned-ocaml-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 libppx-tools-versioned-ocaml-doc
using apt-get
by running the following command:
sudo apt-get -y install libppx-tools-versioned-ocaml-doc
Install libppx-tools-versioned-ocaml-doc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libppx-tools-versioned-ocaml-doc
using apt
by running the following command:
sudo apt -y install libppx-tools-versioned-ocaml-doc
Install libppx-tools-versioned-ocaml-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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libppx-tools-versioned-ocaml-doc
using aptitude
by running the following command:
sudo aptitude -y install libppx-tools-versioned-ocaml-doc
How To Uninstall libppx-tools-versioned-ocaml-doc on Debian 10
To uninstall only the libppx-tools-versioned-ocaml-doc
package we can use the following command:
sudo apt-get remove libppx-tools-versioned-ocaml-doc
Uninstall libppx-tools-versioned-ocaml-doc And Its Dependencies
To uninstall libppx-tools-versioned-ocaml-doc
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libppx-tools-versioned-ocaml-doc
Remove libppx-tools-versioned-ocaml-doc Configurations and Data
To remove libppx-tools-versioned-ocaml-doc
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libppx-tools-versioned-ocaml-doc
Remove libppx-tools-versioned-ocaml-doc configuration, data, and all of its dependencies
We can use the following command to remove libppx-tools-versioned-ocaml-doc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libppx-tools-versioned-ocaml-doc
Dependencies
libppx-tools-versioned-ocaml-doc have the following dependencies:
References
Summary
In this tutorial we learn how to install libppx-tools-versioned-ocaml-doc
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.