How To Install libghc-shake-doc on Debian 12

Learn how to install libghc-shake-doc on Debian 12 with this tutorial. libghc-shake-doc is Haskell library for writing build systems; documentation

Introduction

In this tutorial we learn how to install libghc-shake-doc on Debian 12.

What is libghc-shake-doc

libghc-shake-doc is:

Shake is a Haskell library for writing build systems - designed as a replacement for make.

To use Shake the user writes a Haskell program that imports Development.Shake, defines some build rules, and calls the Development.Shake.shakeArgs function. Thanks to do notation and infix operators, a simple Shake build system is not too dissimilar from a simple Makefile. However, as build systems get more complex, Shake is able to take advantage of the excellent abstraction facilities offered by Haskell and easily support much larger projects. The Shake library provides all the standard features available in other build systems, including automatic parallelism and minimal rebuilds. Shake also provides more accurate dependency tracking, including seamless support for generated files, and dependencies on system information (e.g. compiler version).

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

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

Install libghc-shake-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libghc-shake-doc

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

sudo aptitude -y install libghc-shake-doc

How To Uninstall libghc-shake-doc on Debian 12

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

sudo apt-get remove libghc-shake-doc

Uninstall libghc-shake-doc And Its Dependencies

To uninstall libghc-shake-doc and its dependencies that are no longer needed by Debian 12, we can use the command below:

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

Remove libghc-shake-doc Configurations and Data

To remove libghc-shake-doc configuration and data from Debian 12 we can use the following command:

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

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

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

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

Dependencies

libghc-shake-doc have the following dependencies:

References

Summary

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