How To Install golang-github-gopherjs on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-gopherjs
on Fedora 36.
What is golang-github-gopherjs
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.
We can use yum
or dnf
to install golang-github-gopherjs
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-gopherjs.
Install golang-github-gopherjs 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
using dnf
by running the following command:
sudo dnf -y install golang-github-gopherjs
Install golang-github-gopherjs 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
using yum
by running the following command:
sudo yum -y install golang-github-gopherjs
How To Uninstall golang-github-gopherjs on Fedora 36
To uninstall only the golang-github-gopherjs
package we can use the following command:
sudo dnf remove golang-github-gopherjs
golang-github-gopherjs Package Contents on Fedora 36
/usr/bin/gopherjs
/usr/lib/.build-id
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/171ac8d30f8e989faeace6d6dbf172733cb8c3
/usr/share/doc/golang-github-gopherjs
/usr/share/doc/golang-github-gopherjs/README.md
/usr/share/doc/golang-github-gopherjs/doc
/usr/share/doc/golang-github-gopherjs/doc/packages.md
/usr/share/doc/golang-github-gopherjs/doc/syscalls.md
/usr/share/licenses/golang-github-gopherjs
/usr/share/licenses/golang-github-gopherjs/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-gopherjs
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).