How to Install and Uninstall golang-github-ghodss-yaml-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 18,2024

1. Install "golang-github-ghodss-yaml-dev" package

This guide covers the steps necessary to install golang-github-ghodss-yaml-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install golang-github-ghodss-yaml-dev

2. Uninstall "golang-github-ghodss-yaml-dev" package

Please follow the step by step instructions below to uninstall golang-github-ghodss-yaml-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove golang-github-ghodss-yaml-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-ghodss-yaml-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: golang-github-ghodss-yaml-dev
Architecture: all
Version: 1.0.0-1.1
Priority: extra
Section: universe/devel
Source: golang-github-ghodss-yaml
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 47
Depends: golang-yaml.v2-dev
Filename: pool/universe/g/golang-github-ghodss-yaml/golang-github-ghodss-yaml-dev_1.0.0-1.1_all.deb
Size: 13152
MD5sum: 9b1faf54ab1f02b1d3240e2c6154bd3f
SHA1: 50a54c40dd091bb40837b1579161cd43fdbbcfc6
SHA256: 7f1c4e9a3e4e447b4bb4d230f13178ea734fae59a737949967d6336f8d65f403
SHA512: cea792666248ec7e4fc8084a61298272e8ece53cd2aab60d2d17ccbdd3093995ef36172325883a1ab7cfae79ecdb8449024592ddf24033dcc52f00004716b4ce
Homepage: https://github.com/ghodss/yaml
Description-en: better way to marshal and unmarshal YAML in Golang
This package is a wrapper around go-yaml designed to enable a
better way of handling YAML when marshaling to and from structs.
.
In short, this library first converts YAML to JSON using
go-yaml and then uses json.Marshal and json.Unmarshal to
convert to or from the struct. This means that it effectively
reuses the JSON struct tags as well as the custom JSON methods
MarshalJSON and UnmarshalJSON unlike go-yaml.
Description-md5: ef55acbd2904704d754ac076ab974ce7