How To Install golang-docs on Fedora 36

In this tutorial we learn how to install golang-docs in Fedora 36. golang-docs is Golang compiler docs

Introduction

In this tutorial we learn how to install golang-docs on Fedora 36.

What is golang-docs

Golang compiler docs.

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

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

sudo dnf -y install golang-docs

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

sudo yum -y install golang-docs

How To Uninstall golang-docs on Fedora 36

To uninstall only the golang-docs package we can use the following command:

sudo dnf remove golang-docs

golang-docs Package Contents on Fedora 36

/usr/lib/golang/doc
/usr/lib/golang/doc/asm.html
/usr/lib/golang/doc/go1.17_spec.html
/usr/lib/golang/doc/go1.18.html
/usr/lib/golang/doc/go_mem.html
/usr/lib/golang/doc/go_spec.html

References

Summary

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