How To Install knot on Fedora 34
Introduction
In this tutorial we learn how to install knot on Fedora 34.
What is knot
Knot DNS is a high-performance authoritative DNS server implementation.
We can use yum or dnf to install knot on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install knot.
Install knot on Fedora 34 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install knot using dnf by running the following command:
sudo dnf -y install knot
Install knot on Fedora 34 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install knot using yum by running the following command:
sudo yum -y install knot
How To Uninstall knot on Fedora 34
To uninstall only the knot package we can use the following command:
sudo dnf remove knot
knot Package Contents on Fedora 34
/etc/knot
/etc/knot/knot.conf
/run/knot
/usr/bin/kzonecheck
/usr/bin/kzonesign
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/38b341dd69221466119cd90ff864862787e5af
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/2876cebb9a5d71f87d0734abb8daf73f3fe218
/usr/lib/.build-id/56
/usr/lib/.build-id/56/065a1ca8000ab5266b24878649d0728791ed6e
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/52986e38af67dbd73c1d46e4a7e330ec66a9fa
/usr/lib/.build-id/77
/usr/lib/.build-id/77/63fc39290069998ce7479768dd3080f2138cdf
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/fddc1b92c947ffc6b9df3af7febbc997f5583a
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/75bca80781467e84fa69fe843bc03cb6bb3ce0
/usr/lib/systemd/system/knot.service
/usr/lib/tmpfiles.d/knot.conf
/usr/lib64/knot
/usr/lib64/knot/modules-3.0
/usr/sbin/kcatalogprint
/usr/sbin/keymgr
/usr/sbin/kjournalprint
/usr/sbin/knotc
/usr/sbin/knotd
/usr/share/doc/knot
/usr/share/doc/knot/NEWS
/usr/share/doc/knot/README.md
/usr/share/doc/knot/samples
/usr/share/doc/knot/samples/example.com.zone
/usr/share/licenses/knot
/usr/share/licenses/knot/COPYING
/usr/share/man/man1/kzonecheck.1.gz
/usr/share/man/man1/kzonesign.1.gz
/usr/share/man/man5/knot.conf.5.gz
/usr/share/man/man8/kcatalogprint.8.gz
/usr/share/man/man8/keymgr.8.gz
/usr/share/man/man8/kjournalprint.8.gz
/usr/share/man/man8/knotc.8.gz
/usr/share/man/man8/knotd.8.gz
/var/lib/knot
/etc/knot
/etc/knot/knot.conf
/run/knot
/usr/bin/kzonecheck
/usr/bin/kzonesign
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/4b6892fdf56147de17fac0c56b78b3ddf61777
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/b3affb4984d9c2c7c2d9d24c76a70d8e081634
/usr/lib/.build-id/74
/usr/lib/.build-id/74/0350c18b5533fcdc2a4e56038fc202540acbf9
/usr/lib/.build-id/80
/usr/lib/.build-id/80/fc09f2af31fe031db2a7ba4bd0ec702180111c
/usr/lib/.build-id/87
/usr/lib/.build-id/87/b9e926dc351428752a135a5aa7c5082a9fa2c3
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/487ba103a5e5dc029ab627b63e5a18eecc13ba
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/6a8d173c7959c07cfb21714216d1babf3c542f
/usr/lib/systemd/system/knot.service
/usr/lib/tmpfiles.d/knot.conf
/usr/lib64/knot
/usr/lib64/knot/modules-3.0
/usr/sbin/kcatalogprint
/usr/sbin/keymgr
/usr/sbin/kjournalprint
/usr/sbin/knotc
/usr/sbin/knotd
/usr/share/doc/knot
/usr/share/doc/knot/NEWS
/usr/share/doc/knot/README.md
/usr/share/doc/knot/samples
/usr/share/doc/knot/samples/example.com.zone
/usr/share/licenses/knot
/usr/share/licenses/knot/COPYING
/usr/share/man/man1/kzonecheck.1.gz
/usr/share/man/man1/kzonesign.1.gz
/usr/share/man/man5/knot.conf.5.gz
/usr/share/man/man8/kcatalogprint.8.gz
/usr/share/man/man8/keymgr.8.gz
/usr/share/man/man8/kjournalprint.8.gz
/usr/share/man/man8/knotc.8.gz
/usr/share/man/man8/knotd.8.gz
/var/lib/knot
References
Summary
In this tutorial we learn how to install knot on Fedora 34 using yum and dnf.