How To Install libhugs-hgl-bundled on Debian 10

Learn how to install libhugs-hgl-bundled on Debian 10 with this tutorial. libhugs-hgl-bundled is A simple graphics library based on X11 or Win32

Introduction

In this tutorial we learn how to install libhugs-hgl-bundled on Debian 10.

What is libhugs-hgl-bundled

libhugs-hgl-bundled is:

A simple graphics library, designed to give the programmer access to most interesting parts of the Win32 Graphics Device Interface and X11 library without exposing the programmer to the pain and anguish usually associated with using these interfaces.

The library also includes a module Graphics.SOE providing the interface used in “The Haskell School of Expression”, by Paul Hudak, cf http://www.haskell.org/soe/.

This is the version bundled with the interpreter.

There are three methods to install libhugs-hgl-bundled 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 libhugs-hgl-bundled Using apt-get

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

sudo apt-get update

After updating apt database, We can install libhugs-hgl-bundled using apt-get by running the following command:

sudo apt-get -y install libhugs-hgl-bundled

Install libhugs-hgl-bundled Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libhugs-hgl-bundled using apt by running the following command:

sudo apt -y install libhugs-hgl-bundled

Install libhugs-hgl-bundled 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 libhugs-hgl-bundled using aptitude by running the following command:

sudo aptitude -y install libhugs-hgl-bundled

How To Uninstall libhugs-hgl-bundled on Debian 10

To uninstall only the libhugs-hgl-bundled package we can use the following command:

sudo apt-get remove libhugs-hgl-bundled

Uninstall libhugs-hgl-bundled And Its Dependencies

To uninstall libhugs-hgl-bundled and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libhugs-hgl-bundled

Remove libhugs-hgl-bundled Configurations and Data

To remove libhugs-hgl-bundled configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libhugs-hgl-bundled

Remove libhugs-hgl-bundled configuration, data, and all of its dependencies

We can use the following command to remove libhugs-hgl-bundled configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libhugs-hgl-bundled

Dependencies

libhugs-hgl-bundled have the following dependencies:

References

Summary

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