How To Install libppx-tools-versioned-ocaml-doc on Kali Linux
Introduction
In this tutorial we learn how to install libppx-tools-versioned-ocaml-doc on Kali Linux.
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 Kali Linux. 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 updateAfter 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-docInstall libppx-tools-versioned-ocaml-doc Using apt
Update apt database with apt using the following command.
sudo apt updateAfter 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-docInstall libppx-tools-versioned-ocaml-doc Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter 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-docHow To Uninstall libppx-tools-versioned-ocaml-doc on Kali Linux
To uninstall only the libppx-tools-versioned-ocaml-doc package we can use the following command:
sudo apt-get remove libppx-tools-versioned-ocaml-docUninstall libppx-tools-versioned-ocaml-doc And Its Dependencies
To uninstall libppx-tools-versioned-ocaml-doc and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libppx-tools-versioned-ocaml-docRemove libppx-tools-versioned-ocaml-doc Configurations and Data
To remove libppx-tools-versioned-ocaml-doc configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libppx-tools-versioned-ocaml-docRemove 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-docDependencies
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 Kali Linux using different package management tools: apt, apt-get and aptitude.