How To Install golang-github-burntsushi-xgb on Fedora 36

In this tutorial we learn how to install golang-github-burntsushi-xgb in Fedora 36. golang-github-burntsushi-xgb is Low-level api to communicate with the X server

Introduction

In this tutorial we learn how to install golang-github-burntsushi-xgb on Fedora 36.

What is golang-github-burntsushi-xgb

XGB is the X Go Binding, which is a low-level API to communicate with the core X protocol and many of the X extensions. It is closely modeled after XCB and xpyb.

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

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

sudo dnf -y install golang-github-burntsushi-xgb

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

sudo yum -y install golang-github-burntsushi-xgb

How To Uninstall golang-github-burntsushi-xgb on Fedora 36

To uninstall only the golang-github-burntsushi-xgb package we can use the following command:

sudo dnf remove golang-github-burntsushi-xgb

golang-github-burntsushi-xgb Package Contents on Fedora 36

/usr/bin/xgbgen
/usr/lib/.build-id
/usr/lib/.build-id/97
/usr/lib/.build-id/97/6bc18995b17d9dc28ce92c0d6f824d4fc32bbf
/usr/share/doc/golang-github-burntsushi-xgb
/usr/share/doc/golang-github-burntsushi-xgb/AUTHORS
/usr/share/doc/golang-github-burntsushi-xgb/CONTRIBUTORS
/usr/share/doc/golang-github-burntsushi-xgb/README
/usr/share/doc/golang-github-burntsushi-xgb/examples
/usr/share/doc/golang-github-burntsushi-xgb/examples/atoms
/usr/share/doc/golang-github-burntsushi-xgb/examples/atoms/.gitignore
/usr/share/doc/golang-github-burntsushi-xgb/examples/atoms/Makefile
/usr/share/doc/golang-github-burntsushi-xgb/examples/atoms/main.go
/usr/share/doc/golang-github-burntsushi-xgb/examples/create-window
/usr/share/doc/golang-github-burntsushi-xgb/examples/create-window/main.go
/usr/share/doc/golang-github-burntsushi-xgb/examples/doc.go
/usr/share/doc/golang-github-burntsushi-xgb/examples/get-active-window
/usr/share/doc/golang-github-burntsushi-xgb/examples/get-active-window/main.go
/usr/share/doc/golang-github-burntsushi-xgb/examples/randr
/usr/share/doc/golang-github-burntsushi-xgb/examples/randr/main.go
/usr/share/doc/golang-github-burntsushi-xgb/examples/xinerama
/usr/share/doc/golang-github-burntsushi-xgb/examples/xinerama/main.go
/usr/share/licenses/golang-github-burntsushi-xgb
/usr/share/licenses/golang-github-burntsushi-xgb/COPYING
/usr/share/licenses/golang-github-burntsushi-xgb/LICENSE

References

Summary

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