How To Install libghc-lumberjack-doc on Debian 12
Introduction
In this tutorial we learn how to install libghc-lumberjack-doc
on Debian 12.
What is libghc-lumberjack-doc
libghc-lumberjack-doc is:
This is a logging facility. Yes, there are many, and this is the one with a beard, wearing flannel and boots, that gets the job done. It’s not the fanciest, it doesn’t have a cargo-van full of features. This logger is designed to be straightforward to use, provide a good set of standard features, and be useable across a broad set of code.
Logging itself is a monadic activity. This activity is most often performed in a monad stack with a MonadIO context to allow writing to files.
The specific logging action implementations are managed separately from the actions of logging messages in the target code. This allows logging to be configurable and the manner of logging to be specified at startup time without requiring changes in the code from which log messages are being generated.
The logging implementation code can use contravariant functors to adjust existing logging.
Main code will typically retrieve the logging actions from a Reader context in your monad stack. That said, Log actions are not tied to an enclosing Monad. There are helpers to support a Monad which can store Log actions, but Log actions can also be explicitly passed and used.
The prettyprinter package is used for formatting.
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-lumberjack-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-lumberjack-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-lumberjack-doc
using apt-get
by running the following command:
sudo apt-get -y install libghc-lumberjack-doc
Install libghc-lumberjack-doc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-lumberjack-doc
using apt
by running the following command:
sudo apt -y install libghc-lumberjack-doc
Install libghc-lumberjack-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-lumberjack-doc
using aptitude
by running the following command:
sudo aptitude -y install libghc-lumberjack-doc
How To Uninstall libghc-lumberjack-doc on Debian 12
To uninstall only the libghc-lumberjack-doc
package we can use the following command:
sudo apt-get remove libghc-lumberjack-doc
Uninstall libghc-lumberjack-doc And Its Dependencies
To uninstall libghc-lumberjack-doc
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove libghc-lumberjack-doc
Remove libghc-lumberjack-doc Configurations and Data
To remove libghc-lumberjack-doc
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge libghc-lumberjack-doc
Remove libghc-lumberjack-doc configuration, data, and all of its dependencies
We can use the following command to remove libghc-lumberjack-doc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-lumberjack-doc
Dependencies
libghc-lumberjack-doc have the following dependencies:
References
Summary
In this tutorial we learn how to install libghc-lumberjack-doc
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.