How To Install libghc-snap-server-prof on Debian 10
Introduction
In this tutorial we learn how to install libghc-snap-server-prof
on Debian 10.
What is libghc-snap-server-prof
libghc-snap-server-prof 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 libraries compiled with profiling enabled.
There are three methods to install libghc-snap-server-prof
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-prof 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-prof
using apt-get
by running the following command:
sudo apt-get -y install libghc-snap-server-prof
Install libghc-snap-server-prof Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-snap-server-prof
using apt
by running the following command:
sudo apt -y install libghc-snap-server-prof
Install libghc-snap-server-prof 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-prof
using aptitude
by running the following command:
sudo aptitude -y install libghc-snap-server-prof
How To Uninstall libghc-snap-server-prof on Debian 10
To uninstall only the libghc-snap-server-prof
package we can use the following command:
sudo apt-get remove libghc-snap-server-prof
Uninstall libghc-snap-server-prof And Its Dependencies
To uninstall libghc-snap-server-prof
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-prof
Remove libghc-snap-server-prof Configurations and Data
To remove libghc-snap-server-prof
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libghc-snap-server-prof
Remove libghc-snap-server-prof configuration, data, and all of its dependencies
We can use the following command to remove libghc-snap-server-prof
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-snap-server-prof
Dependencies
libghc-snap-server-prof have the following dependencies:
- libghc-snap-server-dev
- libghc-attoparsec-prof-0.13.2.2-25c6f
- libghc-base-prof-4.11.1.0-5dd74
- libghc-blaze-builder-prof-0.4.1.0-75fbe
- libghc-bytestring-prof-0.10.8.2-76891
- libghc-case-insensitive-prof-1.2.0.11-d5bd7
- libghc-clock-prof-0.7.2-bc4b7
- libghc-containers-prof-0.5.11.0-e0faa
- libghc-filepath-prof-1.4.2-27f5e
- libghc-io-streams-prof-1.5.0.1-1f654
- libghc-io-streams-haproxy-prof-1.0.0.2-75287
- libghc-lifted-base-prof-0.2.3.12-91d57
- libghc-mtl-prof-2.2.2-28a8b
- libghc-network-prof-2.6.3.6-8da3e
- libghc-old-locale-prof-1.0.0.7-afc40
- libghc-snap-core-prof-1.0.3.2-5363f
- libghc-text-prof-1.2.3.1-30bbe
- libghc-time-prof-1.8.0.2-2ae9f
- libghc-unix-prof-2.7.2.2-fe53d
- libghc-unix-compat-prof-0.5.1-00584
- libghc-vector-prof-0.12.0.1-4d111
References
Summary
In this tutorial we learn how to install libghc-snap-server-prof
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.