How To Install libghc-graphviz-doc on Kali Linux

In this tutorial we learn how to install libghc-graphviz-doc on Kali Linux. libghc-graphviz-doc is bindings to Graphviz for graph visualization; documentation

Introduction

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

What is libghc-graphviz-doc

libghc-graphviz-doc is:

This library provides bindings for the Dot language used by the Graphviz (http://graphviz.org/) suite of programs for visualising graphs, as well as functions to call those programs.

Main features of the graphviz library include:

Almost complete coverage of all Graphviz attributes and syntax.

Support for specifying clusters.

The ability to use a custom node type.

Functions for running a Graphviz layout tool with all specified output types.

The ability to not only generate but also parse Dot code with two options: strict and liberal (in terms of ordering of statements).

Functions to convert FGL graphs and other graph-like data structures to Dot code - including support to group them into clusters - with a high degree of customisation by specifying which attributes to use and limited support for the inverse operation.

Round-trip support for passing an FGL graph through Graphviz to augment node and edge labels with positional information, etc.

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-graphviz-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-graphviz-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-graphviz-doc using apt-get by running the following command:

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

Install libghc-graphviz-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libghc-graphviz-doc

Install libghc-graphviz-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-graphviz-doc using aptitude by running the following command:

sudo aptitude -y install libghc-graphviz-doc

How To Uninstall libghc-graphviz-doc on Kali Linux

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

sudo apt-get remove libghc-graphviz-doc

Uninstall libghc-graphviz-doc And Its Dependencies

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

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

Remove libghc-graphviz-doc Configurations and Data

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

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

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

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

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

Dependencies

libghc-graphviz-doc have the following dependencies:

References

Summary

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