How To Install libghc-graphviz-prof on Kali Linux
Introduction
In this tutorial we learn how to install libghc-graphviz-prof on Kali Linux.
What is libghc-graphviz-prof
libghc-graphviz-prof 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 a library for the Haskell programming language, compiled for profiling. See http://www.haskell.org/ for more information on Haskell.
There are three methods to install libghc-graphviz-prof 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-prof Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libghc-graphviz-prof using apt-get by running the following command:
sudo apt-get -y install libghc-graphviz-profInstall libghc-graphviz-prof Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libghc-graphviz-prof using apt by running the following command:
sudo apt -y install libghc-graphviz-profInstall libghc-graphviz-prof 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 libghc-graphviz-prof using aptitude by running the following command:
sudo aptitude -y install libghc-graphviz-profHow To Uninstall libghc-graphviz-prof on Kali Linux
To uninstall only the libghc-graphviz-prof package we can use the following command:
sudo apt-get remove libghc-graphviz-profUninstall libghc-graphviz-prof And Its Dependencies
To uninstall libghc-graphviz-prof and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libghc-graphviz-profRemove libghc-graphviz-prof Configurations and Data
To remove libghc-graphviz-prof configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libghc-graphviz-profRemove libghc-graphviz-prof configuration, data, and all of its dependencies
We can use the following command to remove libghc-graphviz-prof configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-graphviz-profDependencies
libghc-graphviz-prof have the following dependencies:
- libghc-graphviz-dev
- libghc-base-prof-4.13.0.0-2f220
- libghc-bytestring-prof-0.10.10.1-c40ee
- libghc-colour-prof-2.3.5-a6570
- libghc-containers-prof-0.6.2.1-ab1cf
- libghc-directory-prof-1.3.6.0-49fdf
- libghc-dlist-prof-0.8.0.8-7f473
- libghc-fgl-prof-5.7.0.3-cd610
- libghc-filepath-prof-1.4.2.1-103b6
- libghc-mtl-prof-2.2.2-7208c
- libghc-polyparse-prof-1.13-a5be4
- libghc-process-prof-1.6.9.0-88a89
- libghc-temporary-prof-1.3-d53ce
- libghc-text-prof-1.2.4.0-a7a6e
- libghc-wl-pprint-text-prof-1.2.0.1-89627
References
Summary
In this tutorial we learn how to install libghc-graphviz-prof package on Kali Linux using different package management tools: apt, apt-get and aptitude.