How To Install golang-github-spf13-viper-remote-devel on Fedora 36

In this tutorial we learn how to install golang-github-spf13-viper-remote-devel in Fedora 36. golang-github-spf13-viper-remote-devel is Go configuration with fangs

Introduction

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

What is golang-github-spf13-viper-remote-devel

Viper is a complete configuration solution for Go applications including 12-Factor apps. It is designed to work within an application, and can handle all types of configuration needs and formats. It supports – setting defaults – reading from JSON, TOML, YAML, HCL, and Java properties config files – live watching and re-reading of config files (optional) – reading from environment variables – reading from remote config systems (etcd or Consul), and watching changes – reading from command line flags – reading from buffer – setting explicit values Viper can be thought of as a registry for all of your applications configuration needs. This package contains the source code needed for building packages that reference the following Go import paths – github.com/spf13/viper/remote

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

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

sudo dnf -y install golang-github-spf13-viper-remote-devel

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

sudo yum -y install golang-github-spf13-viper-remote-devel

How To Uninstall golang-github-spf13-viper-remote-devel on Fedora 36

To uninstall only the golang-github-spf13-viper-remote-devel package we can use the following command:

sudo dnf remove golang-github-spf13-viper-remote-devel

golang-github-spf13-viper-remote-devel Package Contents on Fedora 36

/usr/share/gocode/src/github.com/spf13/viper/remote
/usr/share/gocode/src/github.com/spf13/viper/remote/.goipath
/usr/share/gocode/src/github.com/spf13/viper/remote/remote.go

References

Summary

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