How To Install unbound-anchor on Ubuntu 20.04
Introduction
In this tutorial we learn how to install unbound-anchor
on Ubuntu 20.04.
What is unbound-anchor
unbound-anchor is:
unbound-anchor is a utility which securely fetches or updates the root DNS zone trust anchor. A copy of the current root anchor and root update certificate is embedded in unbound-anchor. RFC 5011 trust anchor tracking is performed, with fallback to an SSL fetch if this fails.
Package: unbound-anchor Architecture: amd64 Version: 1.9.4-2ubuntu1 Priority: optional Section: universe/net Source: unbound Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: unbound packagers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 100 Depends: libc6 (>= 2.25), libexpat1 (>= 2.0.1), libssl1.1 (>= 1.1.0), libunbound8 (>= 1.8.0) Breaks: unbound (« 1.4.13-1) Replaces: unbound (« 1.4.13-1) Filename: pool/universe/u/unbound/unbound-anchor_1.9.4-2ubuntu1_amd64.deb Size: 28256 MD5sum: 12a96923a2f3f7585e09a49068642bcc SHA1: 5a24808552db7b7be9e76488a734aaf7d5a238b3 SHA256: 250ebd3b152d0662dff2feea26f744477db9232e73e7a1dd879597307acc520c Homepage: https://www.unbound.net/ Description-en: utility to securely fetch the root DNS trust anchor unbound-anchor is a utility which securely fetches or updates the root DNS zone trust anchor. A copy of the current root anchor and root update certificate is embedded in unbound-anchor. RFC 5011 trust anchor tracking is performed, with fallback to an SSL fetch if this fails.
There are three methods to install unbound-anchor
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 unbound-anchor Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install unbound-anchor
using apt-get
by running the following command:
sudo apt-get -y install unbound-anchor
Install unbound-anchor Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install unbound-anchor
using apt
by running the following command:
sudo apt -y install unbound-anchor
Install unbound-anchor 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 unbound-anchor
using aptitude
by running the following command:
sudo aptitude -y install unbound-anchor
How To Uninstall unbound-anchor on Ubuntu 20.04
To uninstall only the unbound-anchor
package we can use the following command:
sudo apt-get remove unbound-anchor
Uninstall unbound-anchor And Its Dependencies
To uninstall unbound-anchor
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove unbound-anchor
Remove unbound-anchor Configurations and Data
To remove unbound-anchor
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge unbound-anchor
Remove unbound-anchor configuration, data, and all of its dependencies
We can use the following command to remove unbound-anchor
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge unbound-anchor
References
Summary
In this tutorial we learn how to install unbound-anchor
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.