How To Install golang-github-mattn-tty-devel on Fedora 36

In this tutorial we learn how to install golang-github-mattn-tty-devel in Fedora 36. golang-github-mattn-tty-devel is Simple tty utility

Introduction

In this tutorial we learn how to install golang-github-mattn-tty-devel on Fedora 36.

What is golang-github-mattn-tty-devel

Simple tty utility. This package contains the source code needed for building packages that reference the following Go import paths – github.com/mattn/go-tty

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

Install golang-github-mattn-tty-devel 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-mattn-tty-devel using dnf by running the following command:

sudo dnf -y install golang-github-mattn-tty-devel

Install golang-github-mattn-tty-devel 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-mattn-tty-devel using yum by running the following command:

sudo yum -y install golang-github-mattn-tty-devel

How To Uninstall golang-github-mattn-tty-devel on Fedora 36

To uninstall only the golang-github-mattn-tty-devel package we can use the following command:

sudo dnf remove golang-github-mattn-tty-devel

golang-github-mattn-tty-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-mattn-tty-devel
/usr/share/doc/golang-github-mattn-tty-devel/README.md
/usr/share/doc/golang-github-mattn-tty-devel/_example
/usr/share/doc/golang-github-mattn-tty-devel/_example/password.go
/usr/share/doc/golang-github-mattn-tty-devel/_example/readline.go
/usr/share/doc/golang-github-mattn-tty-devel/_example/simple.go
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/mattn
/usr/share/gocode/src/github.com/mattn/go-tty
/usr/share/gocode/src/github.com/mattn/go-tty/.goipath
/usr/share/gocode/src/github.com/mattn/go-tty/README.md
/usr/share/gocode/src/github.com/mattn/go-tty/go.mod
/usr/share/gocode/src/github.com/mattn/go-tty/tty.go
/usr/share/gocode/src/github.com/mattn/go-tty/tty_bsd.go
/usr/share/gocode/src/github.com/mattn/go-tty/tty_linux.go
/usr/share/gocode/src/github.com/mattn/go-tty/tty_plan9.go
/usr/share/gocode/src/github.com/mattn/go-tty/tty_sys5.go
/usr/share/gocode/src/github.com/mattn/go-tty/tty_unix.go
/usr/share/gocode/src/github.com/mattn/go-tty/tty_windows.go
/usr/share/gocode/src/github.com/mattn/go-tty/ttyutil
/usr/share/gocode/src/github.com/mattn/go-tty/ttyutil/readline.go
/usr/share/licenses/golang-github-mattn-tty-devel
/usr/share/licenses/golang-github-mattn-tty-devel/LICENSE

References

Summary

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