How To Install haskell-devscripts-minimal on Debian 10

Learn how to install haskell-devscripts-minimal on Debian 10 with this tutorial. haskell-devscripts-minimal is Tools to help Debian developers build Haskell packages

Introduction

In this tutorial we learn how to install haskell-devscripts-minimal on Debian 10.

What is haskell-devscripts-minimal

haskell-devscripts-minimal is:

This package provides a collection of scripts to help build Haskell packages for Debian. Unlike haskell-utils, this package is not expected to be installed on the machines of end users.

This package is designed to support Cabalized Haskell libraries. It is designed to build a library for each supported Debian compiler or interpreter, generate appropriate postinst/prerm files for each one, generate appropriate substvars entries for each one, and install the package in the Debian temporary area as part of the build process.

This package doesn’t provide functionality for generating coloured documentation and is mostly intended for bootstrapping a new architecture. If you want coloured documentation, use haskell-devscripts.

There are three methods to install haskell-devscripts-minimal on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install haskell-devscripts-minimal Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install haskell-devscripts-minimal using apt-get by running the following command:

sudo apt-get -y install haskell-devscripts-minimal

Install haskell-devscripts-minimal Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install haskell-devscripts-minimal using apt by running the following command:

sudo apt -y install haskell-devscripts-minimal

Install haskell-devscripts-minimal 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 haskell-devscripts-minimal using aptitude by running the following command:

sudo aptitude -y install haskell-devscripts-minimal

How To Uninstall haskell-devscripts-minimal on Debian 10

To uninstall only the haskell-devscripts-minimal package we can use the following command:

sudo apt-get remove haskell-devscripts-minimal

Uninstall haskell-devscripts-minimal And Its Dependencies

To uninstall haskell-devscripts-minimal and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove haskell-devscripts-minimal

Remove haskell-devscripts-minimal Configurations and Data

To remove haskell-devscripts-minimal configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge haskell-devscripts-minimal

Remove haskell-devscripts-minimal configuration, data, and all of its dependencies

We can use the following command to remove haskell-devscripts-minimal configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge haskell-devscripts-minimal

Dependencies

haskell-devscripts-minimal have the following dependencies:

References

Summary

In this tutorial we learn how to install haskell-devscripts-minimal package on Debian 10 using different package management tools: apt, apt-get and aptitude.