How To Install libghc-xmlhtml-doc on Kali Linux

In this tutorial we learn how to install libghc-xmlhtml-doc on Kali Linux. libghc-xmlhtml-doc is XML parser and renderer with HTML 5 quirks mode; documentation

Introduction

In this tutorial we learn how to install libghc-xmlhtml-doc on Kali Linux.

What is libghc-xmlhtml-doc

libghc-xmlhtml-doc is:

Contains renderers and parsers for both XML and HTML 5 document fragments, which share data structures so that it’s easy to work with both. Document fragments are bits of documents, which are not constrained by some of the high-level structure rules (in particular, they may contain more than one root element).

Note that this is not a compliant HTML 5 parser. Rather, it is a parser for HTML 5 compliant documents. It does not implement the HTML 5 parsing algorithm, and should generally be expected to perform correctly only on documents that you trust to conform to HTML 5. This is not a suitable library for implementing web crawlers or other software that will be exposed to documents from outside sources. The result is also not the HTML 5 node structure, but rather something closer to the physical structure. For example, omitted start tags are not inserted (and so, their corresponding end tags must also be omitted).

This package provides the documentation for a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.

There are three methods to install libghc-xmlhtml-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 libghc-xmlhtml-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 libghc-xmlhtml-doc using apt-get by running the following command:

sudo apt-get -y install libghc-xmlhtml-doc

Install libghc-xmlhtml-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libghc-xmlhtml-doc using apt by running the following command:

sudo apt -y install libghc-xmlhtml-doc

Install libghc-xmlhtml-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 update

After updating apt database, We can install libghc-xmlhtml-doc using aptitude by running the following command:

sudo aptitude -y install libghc-xmlhtml-doc

How To Uninstall libghc-xmlhtml-doc on Kali Linux

To uninstall only the libghc-xmlhtml-doc package we can use the following command:

sudo apt-get remove libghc-xmlhtml-doc

Uninstall libghc-xmlhtml-doc And Its Dependencies

To uninstall libghc-xmlhtml-doc and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libghc-xmlhtml-doc

Remove libghc-xmlhtml-doc Configurations and Data

To remove libghc-xmlhtml-doc configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libghc-xmlhtml-doc

Remove libghc-xmlhtml-doc configuration, data, and all of its dependencies

We can use the following command to remove libghc-xmlhtml-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libghc-xmlhtml-doc

Dependencies

libghc-xmlhtml-doc have the following dependencies:

References

Summary

In this tutorial we learn how to install libghc-xmlhtml-doc package on Kali Linux using different package management tools: apt, apt-get and aptitude.