How To Install golang-sr-spc-log-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-sr-spc-log-devel
on Fedora 36.
What is golang-sr-spc-log-devel
Package log implements a simple level logging package that maintains API compatibility with the standard library log package. It extends the standard library log.Logger type with a Level type that can be used to define output verbosity. It adds additional methods that will be printed only if the logger is configured at or below a given level. This package contains the source code needed for building packages that reference the following Go import paths – git.sr.ht/~spc/go-log
We can use yum
or dnf
to install golang-sr-spc-log-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-sr-spc-log-devel.
Install golang-sr-spc-log-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-sr-spc-log-devel
using dnf
by running the following command:
sudo dnf -y install golang-sr-spc-log-devel
Install golang-sr-spc-log-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-sr-spc-log-devel
using yum
by running the following command:
sudo yum -y install golang-sr-spc-log-devel
How To Uninstall golang-sr-spc-log-devel on Fedora 36
To uninstall only the golang-sr-spc-log-devel
package we can use the following command:
sudo dnf remove golang-sr-spc-log-devel
golang-sr-spc-log-devel Package Contents on Fedora 36
/usr/share/doc/golang-sr-spc-log-devel
/usr/share/doc/golang-sr-spc-log-devel/README.md
/usr/share/gocode/src/git.sr.ht
/usr/share/gocode/src/git.sr.ht/~spc
/usr/share/gocode/src/git.sr.ht/~spc/go-log
/usr/share/gocode/src/git.sr.ht/~spc/go-log/.goipath
/usr/share/gocode/src/git.sr.ht/~spc/go-log/README.md
/usr/share/gocode/src/git.sr.ht/~spc/go-log/example_test.go
/usr/share/gocode/src/git.sr.ht/~spc/go-log/go.mod
/usr/share/gocode/src/git.sr.ht/~spc/go-log/log.go
/usr/share/gocode/src/git.sr.ht/~spc/go-log/log_test.go
/usr/share/licenses/golang-sr-spc-log-devel
/usr/share/licenses/golang-sr-spc-log-devel/LICENSE
References
Summary
In this tutorial we learn how to install golang-sr-spc-log-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).