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

In this tutorial we learn how to install golang-modernc-lexer-devel in Fedora 36. golang-modernc-lexer-devel is Run time generator of action less scanners

Introduction

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

What is golang-modernc-lexer-devel

Run time generator of action less scanners (lexeme recognizers). This package contains the source code needed for building packages that reference the following Go import paths – modernc.org/lexer

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

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

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

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

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

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

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

sudo dnf remove golang-modernc-lexer-devel

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

/usr/share/doc/golang-modernc-lexer-devel
/usr/share/doc/golang-modernc-lexer-devel/AUTHORS
/usr/share/doc/golang-modernc-lexer-devel/CONTRIBUTORS
/usr/share/doc/golang-modernc-lexer-devel/README
/usr/share/gocode/src/modernc.org
/usr/share/gocode/src/modernc.org/lexer
/usr/share/gocode/src/modernc.org/lexer/.goipath
/usr/share/gocode/src/modernc.org/lexer/all_test.go
/usr/share/gocode/src/modernc.org/lexer/go.mod
/usr/share/gocode/src/modernc.org/lexer/is.go
/usr/share/gocode/src/modernc.org/lexer/lexer.go
/usr/share/gocode/src/modernc.org/lexer/nfa.go
/usr/share/gocode/src/modernc.org/lexer/ranges.go
/usr/share/gocode/src/modernc.org/lexer/regex.go
/usr/share/gocode/src/modernc.org/lexer/scanner.go
/usr/share/gocode/src/modernc.org/lexer/source.go
/usr/share/gocode/src/modernc.org/lexer/stdlib.go
/usr/share/gocode/src/modernc.org/lexer/stdlib_1_4.go
/usr/share/gocode/src/modernc.org/lexer/test_deps.go
/usr/share/gocode/src/modernc.org/lexer/vm.go
/usr/share/licenses/golang-modernc-lexer-devel
/usr/share/licenses/golang-modernc-lexer-devel/LICENSE
/usr/share/licenses/golang-modernc-lexer-devel/LICENSE-GO

References

Summary

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