How To Install golang-github-yuin-gopher-lua on Fedora 36

In this tutorial we learn how to install golang-github-yuin-gopher-lua in Fedora 36. golang-github-yuin-gopher-lua is VM and compiler for Lua in Go

Introduction

In this tutorial we learn how to install golang-github-yuin-gopher-lua on Fedora 36.

What is golang-github-yuin-gopher-lua

GopherLua is a Lua5.1 VM and compiler written in Go. GopherLua has a same goal with Lua APIs that allow you to easily embed a scripting language to your Go host programs.

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

Install golang-github-yuin-gopher-lua 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-yuin-gopher-lua using dnf by running the following command:

sudo dnf -y install golang-github-yuin-gopher-lua

Install golang-github-yuin-gopher-lua 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-yuin-gopher-lua using yum by running the following command:

sudo yum -y install golang-github-yuin-gopher-lua

How To Uninstall golang-github-yuin-gopher-lua on Fedora 36

To uninstall only the golang-github-yuin-gopher-lua package we can use the following command:

sudo dnf remove golang-github-yuin-gopher-lua

golang-github-yuin-gopher-lua Package Contents on Fedora 36

/usr/bin/glua
/usr/lib/.build-id
/usr/lib/.build-id/68
/usr/lib/.build-id/68/10a0f6f0afc0d6f5423be750da4fe6b0451658
/usr/share/doc/golang-github-yuin-gopher-lua
/usr/share/doc/golang-github-yuin-gopher-lua/README
/usr/share/doc/golang-github-yuin-gopher-lua/README.rst
/usr/share/licenses/golang-github-yuin-gopher-lua
/usr/share/licenses/golang-github-yuin-gopher-lua/LICENSE

References

Summary

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