How To Install libghc-graphviz-prof on Debian 12
Introduction
In this tutorial we learn how to install libghc-graphviz-prof
on Debian 12.
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 Debian 12. 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 update
After updating apt database, We can install libghc-graphviz-prof
using apt-get
by running the following command:
sudo apt-get -y install libghc-graphviz-prof
Install libghc-graphviz-prof Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-graphviz-prof
using apt
by running the following command:
sudo apt -y install libghc-graphviz-prof
Install libghc-graphviz-prof 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 libghc-graphviz-prof
using aptitude
by running the following command:
sudo aptitude -y install libghc-graphviz-prof
How To Uninstall libghc-graphviz-prof on Debian 12
To uninstall only the libghc-graphviz-prof
package we can use the following command:
sudo apt-get remove libghc-graphviz-prof
Uninstall libghc-graphviz-prof And Its Dependencies
To uninstall libghc-graphviz-prof
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove libghc-graphviz-prof
Remove libghc-graphviz-prof Configurations and Data
To remove libghc-graphviz-prof
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge libghc-graphviz-prof
Remove 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-prof
Dependencies
libghc-graphviz-prof have the following dependencies:
- libghc-base-prof-4.15.1.0-6a406
- libghc-bytestring-prof-0.10.12.1-ced9a
- libghc-colour-prof-2.3.6-bbb17
- libghc-containers-prof-0.6.4.1-31c3b
- libghc-directory-prof-1.3.6.2-311c9
- libghc-dlist-prof-1.0-366f6
- libghc-fgl-prof-5.7.0.3-80ad3
- libghc-filepath-prof-1.4.2.1-4459f
- libghc-graphviz-dev
- libghc-mtl-prof-2.2.2-e3bae
- libghc-polyparse-prof-1.13-d8ec9
- libghc-process-prof-1.6.13.2-9f25f
- libghc-temporary-prof-1.3-5f386
- libghc-text-prof-1.2.5.0-8553e
- libghc-wl-pprint-text-prof-1.2.0.2-bfb29
References
Summary
In this tutorial we learn how to install libghc-graphviz-prof
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.