How To Install libunbound8 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libunbound8
on Ubuntu 20.04.
What is libunbound8
libunbound8 is:
libunbound performs and validates DNS lookups; it can be used to convert hostnames to IP addresses and back and obtain other information from the DNS. Cryptographic validation of results is performed with DNSSEC.
Package: libunbound8 Architecture: amd64 Version: 1.9.4-2ubuntu1 Multi-Arch: same Priority: optional Section: libs Source: unbound Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: unbound packagers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 963 Depends: libc6 (>= 2.27), libevent-2.1-7 (>= 2.1.8-stable), libgmp10, libhogweed5, libnettle7 Filename: pool/main/u/unbound/libunbound8_1.9.4-2ubuntu1_amd64.deb Size: 347780 MD5sum: 2008a138d72bb4e174f7f578b3b2af11 SHA1: 2a6b0d880102e286a88c35ed8746def9153b7e02 SHA256: 1644b64f607c6b49f3d5749439596874c9da8260f5f18ee927a3fd75b7f45610 Homepage: https://www.unbound.net/ Description-en: library implementing DNS resolution and validation libunbound performs and validates DNS lookups; it can be used to convert hostnames to IP addresses and back and obtain other information from the DNS. Cryptographic validation of results is performed with DNSSEC.
There are three methods to install libunbound8
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libunbound8 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libunbound8
using apt-get
by running the following command:
sudo apt-get -y install libunbound8
Install libunbound8 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libunbound8
using apt
by running the following command:
sudo apt -y install libunbound8
Install libunbound8 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libunbound8
using aptitude
by running the following command:
sudo aptitude -y install libunbound8
How To Uninstall libunbound8 on Ubuntu 20.04
To uninstall only the libunbound8
package we can use the following command:
sudo apt-get remove libunbound8
Uninstall libunbound8 And Its Dependencies
To uninstall libunbound8
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libunbound8
Remove libunbound8 Configurations and Data
To remove libunbound8
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libunbound8
Remove libunbound8 configuration, data, and all of its dependencies
We can use the following command to remove libunbound8
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libunbound8
References
Summary
In this tutorial we learn how to install libunbound8
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.