How To Install golang-modernc-golex on Fedora 36
Introduction
In this tutorial we learn how to install golang-modernc-golex
on Fedora 36.
What is golang-modernc-golex
A lex/flex like (not fully POSIX lex compatible) utility.
We can use yum
or dnf
to install golang-modernc-golex
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-modernc-golex.
Install golang-modernc-golex 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
using dnf
by running the following command:
sudo dnf -y install golang-modernc-golex
Install golang-modernc-golex 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
using yum
by running the following command:
sudo yum -y install golang-modernc-golex
How To Uninstall golang-modernc-golex on Fedora 36
To uninstall only the golang-modernc-golex
package we can use the following command:
sudo dnf remove golang-modernc-golex
golang-modernc-golex Package Contents on Fedora 36
/usr/bin/golex
/usr/lib/.build-id
/usr/lib/.build-id/67
/usr/lib/.build-id/67/618d84498680b5c2993487ef11d8544dc08b04
/usr/share/doc/golang-modernc-golex
/usr/share/doc/golang-modernc-golex/AUTHORS
/usr/share/doc/golang-modernc-golex/CONTRIBUTORS
/usr/share/doc/golang-modernc-golex/README
/usr/share/doc/golang-modernc-golex/examples
/usr/share/doc/golang-modernc-golex/examples/c-like
/usr/share/doc/golang-modernc-golex/examples/c-like/Makefile
/usr/share/doc/golang-modernc-golex/examples/c-like/example.l
/usr/share/doc/golang-modernc-golex/examples/c-like/example.y
/usr/share/doc/golang-modernc-golex/examples/calc
/usr/share/doc/golang-modernc-golex/examples/calc/Makefile
/usr/share/doc/golang-modernc-golex/examples/calc/README
/usr/share/doc/golang-modernc-golex/examples/calc/calc.y
/usr/share/doc/golang-modernc-golex/examples/calc/fdl-1.3
/usr/share/doc/golang-modernc-golex/examples/calc/tokenizer.l
/usr/share/doc/golang-modernc-golex/examples/go
/usr/share/doc/golang-modernc-golex/examples/go/.gitignore
/usr/share/doc/golang-modernc-golex/examples/go/Makefile
/usr/share/doc/golang-modernc-golex/examples/go/example2.l
/usr/share/doc/golang-modernc-golex/examples/numbers
/usr/share/doc/golang-modernc-golex/examples/numbers/.gitignore
/usr/share/doc/golang-modernc-golex/examples/numbers/Makefile
/usr/share/doc/golang-modernc-golex/examples/numbers/example.l
/usr/share/licenses/golang-modernc-golex
/usr/share/licenses/golang-modernc-golex/LICENSE
References
Summary
In this tutorial we learn how to install golang-modernc-golex
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).