How To Install libghc-snap-server-doc on Debian 10
Introduction
In this tutorial we learn how to install libghc-snap-server-doc
on Debian 10.
What is libghc-snap-server-doc
libghc-snap-server-doc is:
Snap is a simple and fast web development framework and server written in Haskell. For more information or to download the latest version, you can visit the Snap project website at http://snapframework.com/.
The Snap HTTP server is a high performance, epoll-enabled, iteratee-based web server library written in Haskell. Together with the @snap-core@ library upon which it depends, it provides a clean and efficient Haskell programming interface to the HTTP protocol.
Higher-level facilities for building web applications (like user/session management, component interfaces, data modeling, etc.) are planned but not yet implemented, so this release will mostly be of interest for those who:
o need a fast and minimal HTTP API at roughly the same level of abstraction as Java servlets, or
o are interested in contributing to the Snap Framework project.
This package contains the documentation files.
There are three methods to install libghc-snap-server-doc
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 libghc-snap-server-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-snap-server-doc
using apt-get
by running the following command:
sudo apt-get -y install libghc-snap-server-doc
Install libghc-snap-server-doc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-snap-server-doc
using apt
by running the following command:
sudo apt -y install libghc-snap-server-doc
Install libghc-snap-server-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-snap-server-doc
using aptitude
by running the following command:
sudo aptitude -y install libghc-snap-server-doc
How To Uninstall libghc-snap-server-doc on Debian 10
To uninstall only the libghc-snap-server-doc
package we can use the following command:
sudo apt-get remove libghc-snap-server-doc
Uninstall libghc-snap-server-doc And Its Dependencies
To uninstall libghc-snap-server-doc
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libghc-snap-server-doc
Remove libghc-snap-server-doc Configurations and Data
To remove libghc-snap-server-doc
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libghc-snap-server-doc
Remove libghc-snap-server-doc configuration, data, and all of its dependencies
We can use the following command to remove libghc-snap-server-doc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-snap-server-doc
Dependencies
libghc-snap-server-doc have the following dependencies:
References
Summary
In this tutorial we learn how to install libghc-snap-server-doc
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.