How To Install zig-doc on Fedora 36

In this tutorial we learn how to install zig-doc in Fedora 36. zig-doc is Documentation for zig

Introduction

In this tutorial we learn how to install zig-doc on Fedora 36.

What is zig-doc

Documentation for zig. For more information, visit https

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

Install zig-doc 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 zig-doc using dnf by running the following command:

sudo dnf -y install zig-doc

Install zig-doc 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 zig-doc using yum by running the following command:

sudo yum -y install zig-doc

How To Uninstall zig-doc on Fedora 36

To uninstall only the zig-doc package we can use the following command:

sudo dnf remove zig-doc

zig-doc Package Contents on Fedora 36

/usr/share/doc/zig-doc
/usr/share/doc/zig-doc/README.md
/usr/share/doc/zig-doc/langref.html

References

Summary

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