How To Install golang-github-knz-libedit-devel on Fedora 36

In this tutorial we learn how to install golang-github-knz-libedit-devel in Fedora 36. golang-github-knz-libedit-devel is Go wrapper around the BSD libedit replacement to GNU readline

Introduction

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

What is golang-github-knz-libedit-devel

Go wrapper around libedit, a replacement to GNU readline using the BSD license. This package contains the source code needed for building packages that reference the following Go import paths – github.com/knz/go-libedit

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

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

sudo dnf -y install golang-github-knz-libedit-devel

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

sudo yum -y install golang-github-knz-libedit-devel

How To Uninstall golang-github-knz-libedit-devel on Fedora 36

To uninstall only the golang-github-knz-libedit-devel package we can use the following command:

sudo dnf remove golang-github-knz-libedit-devel

golang-github-knz-libedit-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-knz-libedit-devel
/usr/share/doc/golang-github-knz-libedit-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/knz
/usr/share/gocode/src/github.com/knz/go-libedit
/usr/share/gocode/src/github.com/knz/go-libedit/.goipath
/usr/share/gocode/src/github.com/knz/go-libedit/README.md
/usr/share/gocode/src/github.com/knz/go-libedit/common
/usr/share/gocode/src/github.com/knz/go-libedit/common.go
/usr/share/gocode/src/github.com/knz/go-libedit/common/editline.go
/usr/share/gocode/src/github.com/knz/go-libedit/editline_other.go
/usr/share/gocode/src/github.com/knz/go-libedit/editline_unix.go
/usr/share/gocode/src/github.com/knz/go-libedit/other
/usr/share/gocode/src/github.com/knz/go-libedit/other/editline_other.go
/usr/share/gocode/src/github.com/knz/go-libedit/test
/usr/share/gocode/src/github.com/knz/go-libedit/test/example.go
/usr/share/gocode/src/github.com/knz/go-libedit/unix
/usr/share/gocode/src/github.com/knz/go-libedit/unix/c_editline.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/c_editline.h
/usr/share/gocode/src/github.com/knz/go-libedit/unix/editline_unix.go
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-chared.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-chartype.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-common.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-el.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-eln.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-emacs.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-filecomplete.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-hist.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-history.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-historyn.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-keymacro.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-map.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-parse.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-prompt.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-read.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-readline.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-refresh.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-search.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-sig.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-strlcat.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-strlcpy.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-terminal.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-tokenizer.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-tokenizern.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-tty.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-unvis.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-vi.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-vis.c
/usr/share/gocode/src/github.com/knz/go-libedit/unix/wrap-wcsdup.c
/usr/share/gocode/src/github.com/knz/go-libedit/version_check.go
/usr/share/licenses/golang-github-knz-libedit-devel
/usr/share/licenses/golang-github-knz-libedit-devel/LICENSE

References

Summary

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