How To Install golang-gopkg-yaml-1-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-gopkg-yaml-1-devel
on Fedora 36.
What is golang-gopkg-yaml-1-devel
The yaml package enables Go programs to comfortably encode and decode YAML values. It was developed within Canonical as part of the juju project, and is based on a pure Go port of the well-known libyaml C library to parse and generate YAML data quickly and reliably. The yaml package supports most of YAML 1.1 and 1.2, including support for anchors, tags, map merging, etc. Multi-document unmarshalling is not yet implemented, and base-60 floats from YAML 1.1 are purposefully not supported since they’re a poor design and are gone in YAML 1.2. This package contains the source code needed for building packages that reference the following Go import paths – gopkg.in/yaml.v1
We can use yum
or dnf
to install golang-gopkg-yaml-1-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-gopkg-yaml-1-devel.
Install golang-gopkg-yaml-1-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-gopkg-yaml-1-devel
using dnf
by running the following command:
sudo dnf -y install golang-gopkg-yaml-1-devel
Install golang-gopkg-yaml-1-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-gopkg-yaml-1-devel
using yum
by running the following command:
sudo yum -y install golang-gopkg-yaml-1-devel
How To Uninstall golang-gopkg-yaml-1-devel on Fedora 36
To uninstall only the golang-gopkg-yaml-1-devel
package we can use the following command:
sudo dnf remove golang-gopkg-yaml-1-devel
golang-gopkg-yaml-1-devel Package Contents on Fedora 36
/usr/share/doc/golang-gopkg-yaml-1-devel
/usr/share/doc/golang-gopkg-yaml-1-devel/README.md
/usr/share/gocode/src/gopkg.in
/usr/share/gocode/src/gopkg.in/yaml.v1
/usr/share/gocode/src/gopkg.in/yaml.v1/.goipath
/usr/share/gocode/src/gopkg.in/yaml.v1/README.md
/usr/share/gocode/src/gopkg.in/yaml.v1/apic.go
/usr/share/gocode/src/gopkg.in/yaml.v1/decode.go
/usr/share/gocode/src/gopkg.in/yaml.v1/decode_test.go
/usr/share/gocode/src/gopkg.in/yaml.v1/emitterc.go
/usr/share/gocode/src/gopkg.in/yaml.v1/encode.go
/usr/share/gocode/src/gopkg.in/yaml.v1/encode_test.go
/usr/share/gocode/src/gopkg.in/yaml.v1/parserc.go
/usr/share/gocode/src/gopkg.in/yaml.v1/readerc.go
/usr/share/gocode/src/gopkg.in/yaml.v1/resolve.go
/usr/share/gocode/src/gopkg.in/yaml.v1/scannerc.go
/usr/share/gocode/src/gopkg.in/yaml.v1/sorter.go
/usr/share/gocode/src/gopkg.in/yaml.v1/suite_test.go
/usr/share/gocode/src/gopkg.in/yaml.v1/writerc.go
/usr/share/gocode/src/gopkg.in/yaml.v1/yaml.go
/usr/share/gocode/src/gopkg.in/yaml.v1/yamlh.go
/usr/share/gocode/src/gopkg.in/yaml.v1/yamlprivateh.go
/usr/share/licenses/golang-gopkg-yaml-1-devel
/usr/share/licenses/golang-gopkg-yaml-1-devel/LICENSE
/usr/share/licenses/golang-gopkg-yaml-1-devel/LICENSE.libyaml
References
Summary
In this tutorial we learn how to install golang-gopkg-yaml-1-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).