How To Install golang-github-c-bata-prompt on Fedora 36

In this tutorial we learn how to install golang-github-c-bata-prompt in Fedora 36. golang-github-c-bata-prompt is Building powerful interactive prompts in Go

Introduction

In this tutorial we learn how to install golang-github-c-bata-prompt on Fedora 36.

What is golang-github-c-bata-prompt

A library for building powerful interactive prompts inspired by python-prompt-toolkit, making it easier to build cross-platform command line tools using Go.

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

Install golang-github-c-bata-prompt 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-c-bata-prompt using dnf by running the following command:

sudo dnf -y install golang-github-c-bata-prompt

Install golang-github-c-bata-prompt 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-c-bata-prompt using yum by running the following command:

sudo yum -y install golang-github-c-bata-prompt

How To Uninstall golang-github-c-bata-prompt on Fedora 36

To uninstall only the golang-github-c-bata-prompt package we can use the following command:

sudo dnf remove golang-github-c-bata-prompt

golang-github-c-bata-prompt Package Contents on Fedora 36

/usr/bin/complete_file
/usr/bin/sigwinch
/usr/bin/vt100_debug
/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/bb905a925ac8ee3f6da7b90b3dbe90ad49f72c
/usr/lib/.build-id/61
/usr/lib/.build-id/61/ccbbe026dde727f453e221bcbc256e10a0d375
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/c648ced1aa5b90a3fd14a2ec292e2a9a554af3
/usr/share/doc/golang-github-c-bata-prompt
/usr/share/doc/golang-github-c-bata-prompt/CHANGELOG.md
/usr/share/doc/golang-github-c-bata-prompt/README.md
/usr/share/doc/golang-github-c-bata-prompt/_example
/usr/share/doc/golang-github-c-bata-prompt/_example/README.md
/usr/share/doc/golang-github-c-bata-prompt/_example/build.sh
/usr/share/doc/golang-github-c-bata-prompt/_example/exec-command
/usr/share/doc/golang-github-c-bata-prompt/_example/exec-command/main.go
/usr/share/doc/golang-github-c-bata-prompt/_example/http-prompt
/usr/share/doc/golang-github-c-bata-prompt/_example/http-prompt/api.py
/usr/share/doc/golang-github-c-bata-prompt/_example/http-prompt/main.go
/usr/share/doc/golang-github-c-bata-prompt/_example/live-prefix
/usr/share/doc/golang-github-c-bata-prompt/_example/live-prefix/main.go
/usr/share/doc/golang-github-c-bata-prompt/_example/simple-echo
/usr/share/doc/golang-github-c-bata-prompt/_example/simple-echo/cjk-cyrillic
/usr/share/doc/golang-github-c-bata-prompt/_example/simple-echo/cjk-cyrillic/main.go
/usr/share/doc/golang-github-c-bata-prompt/_example/simple-echo/main.go
/usr/share/licenses/golang-github-c-bata-prompt
/usr/share/licenses/golang-github-c-bata-prompt/LICENSE

References

Summary

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