How To Install golang-github-gopherjs-devel on Fedora 36

In this tutorial we learn how to install golang-github-gopherjs-devel in Fedora 36. golang-github-gopherjs-devel is Compiler from Go to JavaScript for running Go code in a browser

Introduction

In this tutorial we learn how to install golang-github-gopherjs-devel on Fedora 36.

What is golang-github-gopherjs-devel

GopherJS compiles Go code (golang.org) to pure JavaScript code. Its main purpose is to give you the opportunity to write front-end code in Go which will still run in all browsers. This package contains the source code needed for building packages that reference the following Go import paths – github.com/gopherjs/gopherjs

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

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

sudo dnf -y install golang-github-gopherjs-devel

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

sudo yum -y install golang-github-gopherjs-devel

How To Uninstall golang-github-gopherjs-devel on Fedora 36

To uninstall only the golang-github-gopherjs-devel package we can use the following command:

sudo dnf remove golang-github-gopherjs-devel

golang-github-gopherjs-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-gopherjs-devel
/usr/share/doc/golang-github-gopherjs-devel/README.md
/usr/share/doc/golang-github-gopherjs-devel/doc
/usr/share/doc/golang-github-gopherjs-devel/doc/packages.md
/usr/share/doc/golang-github-gopherjs-devel/doc/syscalls.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/gopherjs
/usr/share/gocode/src/github.com/gopherjs/gopherjs
/usr/share/gocode/src/github.com/gopherjs/gopherjs/.goipath
/usr/share/gocode/src/github.com/gopherjs/gopherjs/README.md
/usr/share/gocode/src/github.com/gopherjs/gopherjs/build
/usr/share/gocode/src/github.com/gopherjs/gopherjs/build/build.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/analysis
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/analysis/bool.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/analysis/break.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/analysis/escape.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/analysis/info.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/analysis/sideeffect.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/astutil
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/astutil/astutil.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/compiler.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/expressions.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/filter
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/filter/assign.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/filter/incdecstmt.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/gopherjspkg
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/gopherjspkg/doc.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/gopherjspkg/fs.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/gopherjspkg/fs_vfsdata.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/natives
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/natives/doc.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/natives/fs.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/natives/fs_vfsdata.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/package.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/prelude
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/prelude/genmin.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/prelude/goroutines.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/prelude/jsmapping.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/prelude/numeric.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/prelude/prelude.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/prelude/prelude_min.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/prelude/types.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/statements.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/typesutil
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/typesutil/typesutil.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/utils.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/compiler/version_check.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/doc
/usr/share/gocode/src/github.com/gopherjs/gopherjs/doc/packages.md
/usr/share/gocode/src/github.com/gopherjs/gopherjs/doc/syscalls.md
/usr/share/gocode/src/github.com/gopherjs/gopherjs/internal
/usr/share/gocode/src/github.com/gopherjs/gopherjs/internal/sysutil
/usr/share/gocode/src/github.com/gopherjs/gopherjs/internal/sysutil/sysutil.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/internal/sysutil/sysutil_windows.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/js
/usr/share/gocode/src/github.com/gopherjs/gopherjs/js/js.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/nosync
/usr/share/gocode/src/github.com/gopherjs/gopherjs/nosync/map.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/nosync/mutex.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/nosync/once.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/nosync/pool.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tests
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tests/alias_test.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tests/copy_test.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tests/deferblock_test.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tests/doc.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tests/gorepo_test.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tests/goroutine_test.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tests/js_test.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tests/lowlevel_test.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tests/main
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tests/main/main.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tests/main/main_test.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tests/otherpkg
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tests/otherpkg/otherpkg.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tests/run.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tests/sort_test.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tests/syscall_test.go
/usr/share/gocode/src/github.com/gopherjs/gopherjs/tool.go
/usr/share/licenses/golang-github-gopherjs-devel
/usr/share/licenses/golang-github-gopherjs-devel/LICENSE

References

Summary

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