How To Install golang-github-markbates-pkger on Fedora 36

In this tutorial we learn how to install golang-github-markbates-pkger in Fedora 36. golang-github-markbates-pkger is Embed static files in Go binaries

Introduction

In this tutorial we learn how to install golang-github-markbates-pkger on Fedora 36.

What is golang-github-markbates-pkger

Pkger is a tool for embedding static files into Go binaries. It will, hopefully, be a replacement for github.com/gobuffalo/packr/v2.

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

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

sudo dnf -y install golang-github-markbates-pkger

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

sudo yum -y install golang-github-markbates-pkger

How To Uninstall golang-github-markbates-pkger on Fedora 36

To uninstall only the golang-github-markbates-pkger package we can use the following command:

sudo dnf remove golang-github-markbates-pkger

golang-github-markbates-pkger Package Contents on Fedora 36

/usr/bin/pkger
/usr/lib/.build-id
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/be708ad5d5d2fab6b884a0c9a9545304ca6ec9
/usr/share/doc/golang-github-markbates-pkger
/usr/share/doc/golang-github-markbates-pkger/README.md
/usr/share/doc/golang-github-markbates-pkger/SHOULDERS.md
/usr/share/doc/golang-github-markbates-pkger/examples
/usr/share/doc/golang-github-markbates-pkger/examples/dynamic
/usr/share/doc/golang-github-markbates-pkger/examples/dynamic/pkger
/usr/share/doc/golang-github-markbates-pkger/examples/dynamic/pkger/Dockerfile
/usr/share/doc/golang-github-markbates-pkger/examples/dynamic/pkger/Makefile
/usr/share/doc/golang-github-markbates-pkger/examples/dynamic/pkger/go.mod
/usr/share/doc/golang-github-markbates-pkger/examples/dynamic/pkger/go.sum
/usr/share/doc/golang-github-markbates-pkger/examples/dynamic/pkger/main.go
/usr/share/doc/golang-github-markbates-pkger/examples/dynamic/pkger/public
/usr/share/doc/golang-github-markbates-pkger/examples/dynamic/pkger/public/images
/usr/share/doc/golang-github-markbates-pkger/examples/dynamic/pkger/public/images/img1.png
/usr/share/doc/golang-github-markbates-pkger/examples/dynamic/pkger/public/images/img2.png
/usr/share/doc/golang-github-markbates-pkger/examples/dynamic/pkger/public/index.html
/usr/share/doc/golang-github-markbates-pkger/examples/http
/usr/share/doc/golang-github-markbates-pkger/examples/http/packr
/usr/share/doc/golang-github-markbates-pkger/examples/http/packr/Dockerfile
/usr/share/doc/golang-github-markbates-pkger/examples/http/packr/Makefile
/usr/share/doc/golang-github-markbates-pkger/examples/http/packr/go.mod
/usr/share/doc/golang-github-markbates-pkger/examples/http/packr/go.sum
/usr/share/doc/golang-github-markbates-pkger/examples/http/packr/main.go
/usr/share/doc/golang-github-markbates-pkger/examples/http/packr/public
/usr/share/doc/golang-github-markbates-pkger/examples/http/packr/public/images
/usr/share/doc/golang-github-markbates-pkger/examples/http/packr/public/images/img1.png
/usr/share/doc/golang-github-markbates-pkger/examples/http/packr/public/images/img2.png
/usr/share/doc/golang-github-markbates-pkger/examples/http/packr/public/index.html
/usr/share/doc/golang-github-markbates-pkger/examples/http/pkger
/usr/share/doc/golang-github-markbates-pkger/examples/http/pkger/Dockerfile
/usr/share/doc/golang-github-markbates-pkger/examples/http/pkger/Makefile
/usr/share/doc/golang-github-markbates-pkger/examples/http/pkger/go.mod
/usr/share/doc/golang-github-markbates-pkger/examples/http/pkger/go.sum
/usr/share/doc/golang-github-markbates-pkger/examples/http/pkger/main.go
/usr/share/doc/golang-github-markbates-pkger/examples/http/pkger/public
/usr/share/doc/golang-github-markbates-pkger/examples/http/pkger/public/images
/usr/share/doc/golang-github-markbates-pkger/examples/http/pkger/public/images/img1.png
/usr/share/doc/golang-github-markbates-pkger/examples/http/pkger/public/images/img2.png
/usr/share/doc/golang-github-markbates-pkger/examples/http/pkger/public/index.html
/usr/share/doc/golang-github-markbates-pkger/examples/http/std
/usr/share/doc/golang-github-markbates-pkger/examples/http/std/Dockerfile
/usr/share/doc/golang-github-markbates-pkger/examples/http/std/Makefile
/usr/share/doc/golang-github-markbates-pkger/examples/http/std/go.mod
/usr/share/doc/golang-github-markbates-pkger/examples/http/std/main.go
/usr/share/doc/golang-github-markbates-pkger/examples/http/std/public
/usr/share/doc/golang-github-markbates-pkger/examples/http/std/public/images
/usr/share/doc/golang-github-markbates-pkger/examples/http/std/public/images/img1.png
/usr/share/doc/golang-github-markbates-pkger/examples/http/std/public/images/img2.png
/usr/share/doc/golang-github-markbates-pkger/examples/http/std/public/index.html
/usr/share/doc/golang-github-markbates-pkger/examples/open
/usr/share/doc/golang-github-markbates-pkger/examples/open/packr
/usr/share/doc/golang-github-markbates-pkger/examples/open/packr/Dockerfile
/usr/share/doc/golang-github-markbates-pkger/examples/open/packr/Makefile
/usr/share/doc/golang-github-markbates-pkger/examples/open/packr/go.mod
/usr/share/doc/golang-github-markbates-pkger/examples/open/packr/go.sum
/usr/share/doc/golang-github-markbates-pkger/examples/open/packr/main.go
/usr/share/doc/golang-github-markbates-pkger/examples/open/packr/public
/usr/share/doc/golang-github-markbates-pkger/examples/open/packr/public/images
/usr/share/doc/golang-github-markbates-pkger/examples/open/packr/public/images/img1.png
/usr/share/doc/golang-github-markbates-pkger/examples/open/packr/public/images/img2.png
/usr/share/doc/golang-github-markbates-pkger/examples/open/packr/public/index.html
/usr/share/doc/golang-github-markbates-pkger/examples/open/pkger
/usr/share/doc/golang-github-markbates-pkger/examples/open/pkger/Dockerfile
/usr/share/doc/golang-github-markbates-pkger/examples/open/pkger/Makefile
/usr/share/doc/golang-github-markbates-pkger/examples/open/pkger/go.mod
/usr/share/doc/golang-github-markbates-pkger/examples/open/pkger/go.sum
/usr/share/doc/golang-github-markbates-pkger/examples/open/pkger/main.go
/usr/share/doc/golang-github-markbates-pkger/examples/open/pkger/public
/usr/share/doc/golang-github-markbates-pkger/examples/open/pkger/public/images
/usr/share/doc/golang-github-markbates-pkger/examples/open/pkger/public/images/img1.png
/usr/share/doc/golang-github-markbates-pkger/examples/open/pkger/public/images/img2.png
/usr/share/doc/golang-github-markbates-pkger/examples/open/pkger/public/index.html
/usr/share/doc/golang-github-markbates-pkger/examples/open/std
/usr/share/doc/golang-github-markbates-pkger/examples/open/std/Dockerfile
/usr/share/doc/golang-github-markbates-pkger/examples/open/std/Makefile
/usr/share/doc/golang-github-markbates-pkger/examples/open/std/go.mod
/usr/share/doc/golang-github-markbates-pkger/examples/open/std/main.go
/usr/share/doc/golang-github-markbates-pkger/examples/open/std/public
/usr/share/doc/golang-github-markbates-pkger/examples/open/std/public/images
/usr/share/doc/golang-github-markbates-pkger/examples/open/std/public/images/img1.png
/usr/share/doc/golang-github-markbates-pkger/examples/open/std/public/images/img2.png
/usr/share/doc/golang-github-markbates-pkger/examples/open/std/public/index.html
/usr/share/doc/golang-github-markbates-pkger/examples/stat
/usr/share/doc/golang-github-markbates-pkger/examples/stat/pkger
/usr/share/doc/golang-github-markbates-pkger/examples/stat/pkger/Dockerfile
/usr/share/doc/golang-github-markbates-pkger/examples/stat/pkger/Makefile
/usr/share/doc/golang-github-markbates-pkger/examples/stat/pkger/go.mod
/usr/share/doc/golang-github-markbates-pkger/examples/stat/pkger/go.sum
/usr/share/doc/golang-github-markbates-pkger/examples/stat/pkger/main.go
/usr/share/doc/golang-github-markbates-pkger/examples/stat/pkger/public
/usr/share/doc/golang-github-markbates-pkger/examples/stat/pkger/public/images
/usr/share/doc/golang-github-markbates-pkger/examples/stat/pkger/public/images/img1.png
/usr/share/doc/golang-github-markbates-pkger/examples/stat/pkger/public/images/img2.png
/usr/share/doc/golang-github-markbates-pkger/examples/stat/pkger/public/index.html
/usr/share/doc/golang-github-markbates-pkger/examples/stat/std
/usr/share/doc/golang-github-markbates-pkger/examples/stat/std/Dockerfile
/usr/share/doc/golang-github-markbates-pkger/examples/stat/std/Makefile
/usr/share/doc/golang-github-markbates-pkger/examples/stat/std/go.mod
/usr/share/doc/golang-github-markbates-pkger/examples/stat/std/main.go
/usr/share/doc/golang-github-markbates-pkger/examples/stat/std/public
/usr/share/doc/golang-github-markbates-pkger/examples/stat/std/public/images
/usr/share/doc/golang-github-markbates-pkger/examples/stat/std/public/images/img1.png
/usr/share/doc/golang-github-markbates-pkger/examples/stat/std/public/images/img2.png
/usr/share/doc/golang-github-markbates-pkger/examples/stat/std/public/index.html
/usr/share/doc/golang-github-markbates-pkger/examples/walk
/usr/share/doc/golang-github-markbates-pkger/examples/walk/packr
/usr/share/doc/golang-github-markbates-pkger/examples/walk/packr/Dockerfile
/usr/share/doc/golang-github-markbates-pkger/examples/walk/packr/Makefile
/usr/share/doc/golang-github-markbates-pkger/examples/walk/packr/go.mod
/usr/share/doc/golang-github-markbates-pkger/examples/walk/packr/go.sum
/usr/share/doc/golang-github-markbates-pkger/examples/walk/packr/main.go
/usr/share/doc/golang-github-markbates-pkger/examples/walk/packr/public
/usr/share/doc/golang-github-markbates-pkger/examples/walk/packr/public/images
/usr/share/doc/golang-github-markbates-pkger/examples/walk/packr/public/images/img1.png
/usr/share/doc/golang-github-markbates-pkger/examples/walk/packr/public/images/img2.png
/usr/share/doc/golang-github-markbates-pkger/examples/walk/packr/public/index.html
/usr/share/doc/golang-github-markbates-pkger/examples/walk/pkger
/usr/share/doc/golang-github-markbates-pkger/examples/walk/pkger/Dockerfile
/usr/share/doc/golang-github-markbates-pkger/examples/walk/pkger/Makefile
/usr/share/doc/golang-github-markbates-pkger/examples/walk/pkger/go.mod
/usr/share/doc/golang-github-markbates-pkger/examples/walk/pkger/go.sum
/usr/share/doc/golang-github-markbates-pkger/examples/walk/pkger/main.go
/usr/share/doc/golang-github-markbates-pkger/examples/walk/pkger/public
/usr/share/doc/golang-github-markbates-pkger/examples/walk/pkger/public/images
/usr/share/doc/golang-github-markbates-pkger/examples/walk/pkger/public/images/img1.png
/usr/share/doc/golang-github-markbates-pkger/examples/walk/pkger/public/images/img2.png
/usr/share/doc/golang-github-markbates-pkger/examples/walk/pkger/public/index.html
/usr/share/doc/golang-github-markbates-pkger/examples/walk/std
/usr/share/doc/golang-github-markbates-pkger/examples/walk/std/Dockerfile
/usr/share/doc/golang-github-markbates-pkger/examples/walk/std/Makefile
/usr/share/doc/golang-github-markbates-pkger/examples/walk/std/go.mod
/usr/share/doc/golang-github-markbates-pkger/examples/walk/std/go.sum
/usr/share/doc/golang-github-markbates-pkger/examples/walk/std/main.go
/usr/share/doc/golang-github-markbates-pkger/examples/walk/std/public
/usr/share/doc/golang-github-markbates-pkger/examples/walk/std/public/images
/usr/share/doc/golang-github-markbates-pkger/examples/walk/std/public/images/img1.png
/usr/share/doc/golang-github-markbates-pkger/examples/walk/std/public/images/img2.png
/usr/share/doc/golang-github-markbates-pkger/examples/walk/std/public/index.html
/usr/share/licenses/golang-github-markbates-pkger
/usr/share/licenses/golang-github-markbates-pkger/LICENSE

References

Summary

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