How To Install golang-modernc-golex-devel on Fedora 36

In this tutorial we learn how to install golang-modernc-golex-devel in Fedora 36. golang-modernc-golex-devel is Lex/flex like utility

Introduction

In this tutorial we learn how to install golang-modernc-golex-devel on Fedora 36.

What is golang-modernc-golex-devel

A lex/flex like (not fully POSIX lex compatible) utility. This package contains the source code needed for building packages that reference the following Go import paths – modernc.org/golex

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

Install golang-modernc-golex-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-modernc-golex-devel using dnf by running the following command:

sudo dnf -y install golang-modernc-golex-devel

Install golang-modernc-golex-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-modernc-golex-devel using yum by running the following command:

sudo yum -y install golang-modernc-golex-devel

How To Uninstall golang-modernc-golex-devel on Fedora 36

To uninstall only the golang-modernc-golex-devel package we can use the following command:

sudo dnf remove golang-modernc-golex-devel

golang-modernc-golex-devel Package Contents on Fedora 36

/usr/share/doc/golang-modernc-golex-devel
/usr/share/doc/golang-modernc-golex-devel/AUTHORS
/usr/share/doc/golang-modernc-golex-devel/CONTRIBUTORS
/usr/share/doc/golang-modernc-golex-devel/README
/usr/share/doc/golang-modernc-golex-devel/examples
/usr/share/doc/golang-modernc-golex-devel/examples/c-like
/usr/share/doc/golang-modernc-golex-devel/examples/c-like/Makefile
/usr/share/doc/golang-modernc-golex-devel/examples/c-like/example.l
/usr/share/doc/golang-modernc-golex-devel/examples/c-like/example.y
/usr/share/doc/golang-modernc-golex-devel/examples/calc
/usr/share/doc/golang-modernc-golex-devel/examples/calc/Makefile
/usr/share/doc/golang-modernc-golex-devel/examples/calc/README
/usr/share/doc/golang-modernc-golex-devel/examples/calc/calc.y
/usr/share/doc/golang-modernc-golex-devel/examples/calc/fdl-1.3
/usr/share/doc/golang-modernc-golex-devel/examples/calc/tokenizer.l
/usr/share/doc/golang-modernc-golex-devel/examples/go
/usr/share/doc/golang-modernc-golex-devel/examples/go/.gitignore
/usr/share/doc/golang-modernc-golex-devel/examples/go/Makefile
/usr/share/doc/golang-modernc-golex-devel/examples/go/example2.l
/usr/share/doc/golang-modernc-golex-devel/examples/numbers
/usr/share/doc/golang-modernc-golex-devel/examples/numbers/.gitignore
/usr/share/doc/golang-modernc-golex-devel/examples/numbers/Makefile
/usr/share/doc/golang-modernc-golex-devel/examples/numbers/example.l
/usr/share/gocode/src/modernc.org
/usr/share/gocode/src/modernc.org/golex
/usr/share/gocode/src/modernc.org/golex/.goipath
/usr/share/gocode/src/modernc.org/golex/all_test.go
/usr/share/gocode/src/modernc.org/golex/doc.go
/usr/share/gocode/src/modernc.org/golex/go.mod
/usr/share/gocode/src/modernc.org/golex/lex
/usr/share/gocode/src/modernc.org/golex/lex/all_test.go
/usr/share/gocode/src/modernc.org/golex/lex/api.go
/usr/share/gocode/src/modernc.org/golex/lex/doc.go
/usr/share/gocode/src/modernc.org/golex/lex/example_test.go
/usr/share/gocode/src/modernc.org/golex/main.go
/usr/share/gocode/src/modernc.org/golex/render.go
/usr/share/licenses/golang-modernc-golex-devel
/usr/share/licenses/golang-modernc-golex-devel/LICENSE

References

Summary

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