How To Install golang-github-pelletier-toml on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-pelletier-toml
on Fedora 36.
What is golang-github-pelletier-toml
Go-toml provides the following features for using data parsed from TOML documents - Load TOML documents from files and string data - Easily navigate TOML structure using Tree - Mashaling and unmarshaling to and from data structures - Line & column position data for all parsed elements - Query support similar to JSON-Path - Syntax errors contain line and column numbers
We can use yum
or dnf
to install golang-github-pelletier-toml
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-pelletier-toml.
Install golang-github-pelletier-toml 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-pelletier-toml
using dnf
by running the following command:
sudo dnf -y install golang-github-pelletier-toml
Install golang-github-pelletier-toml 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-pelletier-toml
using yum
by running the following command:
sudo yum -y install golang-github-pelletier-toml
How To Uninstall golang-github-pelletier-toml on Fedora 36
To uninstall only the golang-github-pelletier-toml
package we can use the following command:
sudo dnf remove golang-github-pelletier-toml
golang-github-pelletier-toml Package Contents on Fedora 36
/usr/bin/jsontoml
/usr/bin/tomljson
/usr/bin/tomll
/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/57ccef3042097167e46e214b9216ac624107b4
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/875e0d7beb38a3bb1fb476df4081eead0699a8
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/6bd5da1357f879e3c3af93d9ea009e13fc7f60
/usr/share/doc/golang-github-pelletier-toml
/usr/share/doc/golang-github-pelletier-toml/CONTRIBUTING.md
/usr/share/doc/golang-github-pelletier-toml/README.md
/usr/share/licenses/golang-github-pelletier-toml
/usr/share/licenses/golang-github-pelletier-toml/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-pelletier-toml
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).