How To Install libghc-resolv-prof on Debian 11
Introduction
In this tutorial we learn how to install libghc-resolv-prof
on Debian 11.
What is libghc-resolv-prof
libghc-resolv-prof is:
This package implements an API for accessing the Domain Name Service (DNS) resolver service via the standard libresolv system library (whose API is often available directly via the standard libc C library) on Unix systems.
This package also includes support for decoding message record types as defined in the following RFCs:
- RFC 1035: Domain Names - Implementation And Specification
- RFC 1183: New DNS RR Definitions
- RFC 2782: A DNS RR for specifying the location of services (DNS SRV)
- RFC 2915: The Naming Authority Pointer (NAPTR) DNS Resource Record
- RFC 3596: DNS Extensions to Support IP Version 6
- RFC 4034: Resource Records for the DNS Security Extensions
- RFC 4255: Using DNS to Securely Publish Secure Shell (SSH) Key Fingerprints
- RFC 4408: Sender Policy Framework (SPF) for Authorizing Use of Domains in E-Mail, Version 1
- RFC 5155: DNS Security (DNSSEC) Hashed Authenticated Denial of Existence
- RFC 6844: DNS Certification Authority Authorization (CAA) Resource Record
- RFC 6891: Extension Mechanisms for DNS (EDNS(0))
- RFC 7553: The Uniform Resource Identifier (URI) DNS Resource Record
This package provides a library for the Haskell programming language, compiled for profiling. See http://www.haskell.org/ for more information on Haskell.
There are three methods to install libghc-resolv-prof
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-resolv-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-resolv-prof
using apt-get
by running the following command:
sudo apt-get -y install libghc-resolv-prof
Install libghc-resolv-prof Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-resolv-prof
using apt
by running the following command:
sudo apt -y install libghc-resolv-prof
Install libghc-resolv-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-resolv-prof
using aptitude
by running the following command:
sudo aptitude -y install libghc-resolv-prof
How To Uninstall libghc-resolv-prof on Debian 11
To uninstall only the libghc-resolv-prof
package we can use the following command:
sudo apt-get remove libghc-resolv-prof
Uninstall libghc-resolv-prof And Its Dependencies
To uninstall libghc-resolv-prof
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libghc-resolv-prof
Remove libghc-resolv-prof Configurations and Data
To remove libghc-resolv-prof
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libghc-resolv-prof
Remove libghc-resolv-prof configuration, data, and all of its dependencies
We can use the following command to remove libghc-resolv-prof
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-resolv-prof
Dependencies
libghc-resolv-prof have the following dependencies:
- libghc-resolv-dev
- libghc-base-prof-4.13.0.0-2f220
- libghc-base16-bytestring-prof-0.1.1.7-df9d7
- libghc-binary-prof-0.8.7.0-943d8
- libghc-bytestring-prof-0.10.10.1-c40ee
- libghc-containers-prof-0.6.2.1-ab1cf
References
Summary
In this tutorial we learn how to install libghc-resolv-prof
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.