How To Install golang-starlark on Fedora 36

In this tutorial we learn how to install golang-starlark in Fedora 36. golang-starlark is Dialect of Python intended for use as a configuration language

Introduction

In this tutorial we learn how to install golang-starlark on Fedora 36.

What is golang-starlark

Starlark is a dialect of Python intended for use as a configuration language. Like Python, it is an untyped dynamic language with high-level data types, first-class functions with lexical scope, and garbage collection. Unlike CPython, independent Starlark threads execute in parallel, so Starlark workloads scale well on parallel machines. Starlark is a small and simple language with a familiar and highly readable syntax. You can use it as an expressive notation for structured data, defining functions to eliminate repetition, or you can use it to add scripting capabilities to an existing application.

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

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

sudo dnf -y install golang-starlark

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

sudo yum -y install golang-starlark

How To Uninstall golang-starlark on Fedora 36

To uninstall only the golang-starlark package we can use the following command:

sudo dnf remove golang-starlark

golang-starlark Package Contents on Fedora 36

/usr/bin/starlark
/usr/lib/.build-id
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/0542f15c98e32ab81810e4c2aff9408ae62203
/usr/share/doc/golang-starlark
/usr/share/doc/golang-starlark/README.md
/usr/share/licenses/golang-starlark
/usr/share/licenses/golang-starlark/LICENSE

References

Summary

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