How To Install gomacro on Fedora 36

In this tutorial we learn how to install gomacro in Fedora 36. gomacro is Go interpreter and debugger with REPL, Eval, generics and Lisp-like macros

Introduction

In this tutorial we learn how to install gomacro on Fedora 36.

What is gomacro

Gomacro is an almost complete Go interpreter, implemented in pure Go. It offers both an interactive REPL and a scripting mode, and does not require a Go toolchain at runtime (except in one very specific case package at runtime).

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

Install gomacro 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 gomacro using dnf by running the following command:

sudo dnf -y install gomacro

Install gomacro 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 gomacro using yum by running the following command:

sudo yum -y install gomacro

How To Uninstall gomacro on Fedora 36

To uninstall only the gomacro package we can use the following command:

sudo dnf remove gomacro

gomacro Package Contents on Fedora 36

/usr/bin/gomacro
/usr/lib/.build-id
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/96080a7e69c5ad18f39a8d52a9b31027e33397
/usr/share/doc/gomacro
/usr/share/doc/gomacro/README.md
/usr/share/doc/gomacro/TrickyGo.md
/usr/share/doc/gomacro/_example
/usr/share/doc/gomacro/_example/arith.gomacro
/usr/share/doc/gomacro/_example/bag.go.easyjson
/usr/share/doc/gomacro/_example/bag.go.save
/usr/share/doc/gomacro/_example/channel.gomacro
/usr/share/doc/gomacro/_example/collatz.gomacro
/usr/share/doc/gomacro/_example/collatz.igo
/usr/share/doc/gomacro/_example/collatz.py
/usr/share/doc/gomacro/_example/earljwagner1
/usr/share/doc/gomacro/_example/earljwagner1/earljwagner1.go
/usr/share/doc/gomacro/_example/earljwagner2
/usr/share/doc/gomacro/_example/earljwagner2/cube.go
/usr/share/doc/gomacro/_example/earljwagner2/earljwagner2.go
/usr/share/doc/gomacro/_example/embedded_field.go
/usr/share/doc/gomacro/_example/embedded_field.gomacro
/usr/share/doc/gomacro/_example/fibonacci.gomacro
/usr/share/doc/gomacro/_example/fibonacci.igo
/usr/share/doc/gomacro/_example/fibonacci.py
/usr/share/doc/gomacro/_example/for_nested.go
/usr/share/doc/gomacro/_example/for_range.gomacro
/usr/share/doc/gomacro/_example/glycerine1
/usr/share/doc/gomacro/_example/glycerine1/main.go
/usr/share/doc/gomacro/_example/interface.go
/usr/share/doc/gomacro/_example/interrupt
/usr/share/doc/gomacro/_example/interrupt/interrupt_interpreter.go
/usr/share/doc/gomacro/_example/main.go
/usr/share/doc/gomacro/_example/make_fibonacci.gomacro
/usr/share/doc/gomacro/_example/make_fibonacci.gomacro_output
/usr/share/doc/gomacro/doc
/usr/share/doc/gomacro/doc/code_generation.pdf
/usr/share/doc/gomacro/doc/features-and-limitations.md
/usr/share/doc/gomacro/doc/generics-c++.md
/usr/share/doc/gomacro/doc/generics-cti.md
/usr/share/doc/gomacro/doc/quasiquote.md
/usr/share/licenses/gomacro
/usr/share/licenses/gomacro/LICENSE

References

Summary

In this tutorial we learn how to install gomacro on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).