How To Install libghc-resolv-dev on Debian 10
Introduction
In this tutorial we learn how to install libghc-resolv-dev
on Debian 10.
What is libghc-resolv-dev
libghc-resolv-dev 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. See http://www.haskell.org/ for more information on Haskell.
There are three methods to install libghc-resolv-dev
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-resolv-dev 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-dev
using apt-get
by running the following command:
sudo apt-get -y install libghc-resolv-dev
Install libghc-resolv-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-resolv-dev
using apt
by running the following command:
sudo apt -y install libghc-resolv-dev
Install libghc-resolv-dev 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-dev
using aptitude
by running the following command:
sudo aptitude -y install libghc-resolv-dev
How To Uninstall libghc-resolv-dev on Debian 10
To uninstall only the libghc-resolv-dev
package we can use the following command:
sudo apt-get remove libghc-resolv-dev
Uninstall libghc-resolv-dev And Its Dependencies
To uninstall libghc-resolv-dev
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libghc-resolv-dev
Remove libghc-resolv-dev Configurations and Data
To remove libghc-resolv-dev
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libghc-resolv-dev
Remove libghc-resolv-dev configuration, data, and all of its dependencies
We can use the following command to remove libghc-resolv-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-resolv-dev
Dependencies
libghc-resolv-dev have the following dependencies:
- libghc-base-dev-4.11.1.0-5dd74
- libghc-base16-bytestring-dev-0.1.1.6-dad61
- libghc-binary-dev-0.8.5.1-24ea6
- libghc-bytestring-dev-0.10.8.2-76891
- libghc-containers-dev-0.5.11.0-e0faa
- libatomic1
- libc6
- libgmp10
References
Summary
In this tutorial we learn how to install libghc-resolv-dev
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.