How To Install doh on Fedora 36

In this tutorial we learn how to install doh in Fedora 36. doh is Application for DNS-over-HTTPS name resolves and lookups

Introduction

In this tutorial we learn how to install doh on Fedora 36.

What is doh

A libcurl-using application that resolves a host name using DNS-over-HTTPS (DoH). This code uses POST requests unconditionally for this.

We can use yum or dnf to install doh on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install doh.

Install doh on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install doh using dnf by running the following command:

sudo dnf -y install doh

Install doh on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install doh using yum by running the following command:

sudo yum -y install doh

How To Uninstall doh on Fedora 36

To uninstall only the doh package we can use the following command:

sudo dnf remove doh

doh Package Contents on Fedora 36

/usr/bin/doh
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/c94c321ab618c9db3d68c847047ea1f6afc24e
/usr/share/doc/doh
/usr/share/doc/doh/README.md
/usr/share/licenses/doh
/usr/share/licenses/doh/LICENSE
/usr/share/man/man1/doh.1.gz

References

Summary

In this tutorial we learn how to install doh on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).