How To Install libghc-system-posix-redirect-doc on Debian 11
Introduction
In this tutorial we learn how to install libghc-system-posix-redirect-doc
on Debian 11.
What is libghc-system-posix-redirect-doc
libghc-system-posix-redirect-doc is:
Due to the design of POSIX, it is possible to temporarily overload the file descriptors corresponding to stdout and stderr to point to an arbitrary pipe. It is, however, tricky to get right. This module gets it right, as far as such a terrible hack can be made right. It can be used to make misbehaving third-party C libraries stop spewing to standard output.
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-system-posix-redirect-doc
on Debian 11. 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-system-posix-redirect-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-system-posix-redirect-doc
using apt-get
by running the following command:
sudo apt-get -y install libghc-system-posix-redirect-doc
Install libghc-system-posix-redirect-doc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-system-posix-redirect-doc
using apt
by running the following command:
sudo apt -y install libghc-system-posix-redirect-doc
Install libghc-system-posix-redirect-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-system-posix-redirect-doc
using aptitude
by running the following command:
sudo aptitude -y install libghc-system-posix-redirect-doc
How To Uninstall libghc-system-posix-redirect-doc on Debian 11
To uninstall only the libghc-system-posix-redirect-doc
package we can use the following command:
sudo apt-get remove libghc-system-posix-redirect-doc
Uninstall libghc-system-posix-redirect-doc And Its Dependencies
To uninstall libghc-system-posix-redirect-doc
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libghc-system-posix-redirect-doc
Remove libghc-system-posix-redirect-doc Configurations and Data
To remove libghc-system-posix-redirect-doc
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libghc-system-posix-redirect-doc
Remove libghc-system-posix-redirect-doc configuration, data, and all of its dependencies
We can use the following command to remove libghc-system-posix-redirect-doc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-system-posix-redirect-doc
Dependencies
libghc-system-posix-redirect-doc have the following dependencies:
References
Summary
In this tutorial we learn how to install libghc-system-posix-redirect-doc
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.