How To Install golang-github-posener-complete on Fedora 36

In this tutorial we learn how to install golang-github-posener-complete in Fedora 36. golang-github-posener-complete is Bash completion written in go + bash completion for Go command

Introduction

In this tutorial we learn how to install golang-github-posener-complete on Fedora 36.

What is golang-github-posener-complete

Package Complete provides a tool for bash writing bash completion in go, and bash completion for the go command line. Writing bash completion scripts is a hard work. This package provides an easy way to create bash completion scripts for any command, and also an easy way to install/uninstall the completion of the command.

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

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

sudo dnf -y install golang-github-posener-complete

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

sudo yum -y install golang-github-posener-complete

How To Uninstall golang-github-posener-complete on Fedora 36

To uninstall only the golang-github-posener-complete package we can use the following command:

sudo dnf remove golang-github-posener-complete

golang-github-posener-complete Package Contents on Fedora 36

/usr/bin/gocomplete
/usr/lib/.build-id
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/231a28adb327ddd81ac0c887a0813e4f1ef096
/usr/share/doc/golang-github-posener-complete
/usr/share/doc/golang-github-posener-complete/README.md
/usr/share/doc/golang-github-posener-complete/example
/usr/share/doc/golang-github-posener-complete/example/self
/usr/share/doc/golang-github-posener-complete/example/self/main.go
/usr/share/licenses/golang-github-posener-complete
/usr/share/licenses/golang-github-posener-complete/LICENSE.txt

References

Summary

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