How To Install golang-modernc-lex-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-modernc-lex-devel
on Fedora 36.
What is golang-modernc-lex-devel
Support for a *nix (f)lex like tool on .l sources. This package contains the source code needed for building packages that reference the following Go import paths – modernc.org/lex
We can use yum
or dnf
to install golang-modernc-lex-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-modernc-lex-devel.
Install golang-modernc-lex-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-lex-devel
using dnf
by running the following command:
sudo dnf -y install golang-modernc-lex-devel
Install golang-modernc-lex-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-lex-devel
using yum
by running the following command:
sudo yum -y install golang-modernc-lex-devel
How To Uninstall golang-modernc-lex-devel on Fedora 36
To uninstall only the golang-modernc-lex-devel
package we can use the following command:
sudo dnf remove golang-modernc-lex-devel
golang-modernc-lex-devel Package Contents on Fedora 36
/usr/share/doc/golang-modernc-lex-devel
/usr/share/doc/golang-modernc-lex-devel/AUTHORS
/usr/share/doc/golang-modernc-lex-devel/CONTRIBUTORS
/usr/share/doc/golang-modernc-lex-devel/README
/usr/share/gocode/src/modernc.org
/usr/share/gocode/src/modernc.org/lex
/usr/share/gocode/src/modernc.org/lex/.goipath
/usr/share/gocode/src/modernc.org/lex/all_test.go
/usr/share/gocode/src/modernc.org/lex/dfa.go
/usr/share/gocode/src/modernc.org/lex/go.mod
/usr/share/gocode/src/modernc.org/lex/lex.go
/usr/share/gocode/src/modernc.org/lex/parser.go
/usr/share/gocode/src/modernc.org/lex/ranges.go
/usr/share/gocode/src/modernc.org/lex/rule.go
/usr/share/gocode/src/modernc.org/lex/scanner.go
/usr/share/gocode/src/modernc.org/lex/stateset.go
/usr/share/licenses/golang-modernc-lex-devel
/usr/share/licenses/golang-modernc-lex-devel/LICENSE
References
Summary
In this tutorial we learn how to install golang-modernc-lex-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).