How To Install golang-github-google-wire-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-google-wire-devel
on Fedora 36.
What is golang-github-google-wire-devel
Wire is a code generation tool that automates connecting components using dependency injection. Dependencies between components are represented in Wire as function parameters, encouraging explicit initialization instead of global variables. Because Wire operates without runtime state or reflection, code written to be used with Wire is useful even for hand-written initialization. This package contains the source code needed for building packages that reference the following Go import paths – github.com/google/wire
We can use yum
or dnf
to install golang-github-google-wire-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-google-wire-devel.
Install golang-github-google-wire-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-google-wire-devel
using dnf
by running the following command:
sudo dnf -y install golang-github-google-wire-devel
Install golang-github-google-wire-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-google-wire-devel
using yum
by running the following command:
sudo yum -y install golang-github-google-wire-devel
How To Uninstall golang-github-google-wire-devel on Fedora 36
To uninstall only the golang-github-google-wire-devel
package we can use the following command:
sudo dnf remove golang-github-google-wire-devel
golang-github-google-wire-devel Package Contents on Fedora 36
/usr/share/doc/golang-github-google-wire-devel
/usr/share/doc/golang-github-google-wire-devel/AUTHORS
/usr/share/doc/golang-github-google-wire-devel/CODE_OF_CONDUCT.md
/usr/share/doc/golang-github-google-wire-devel/CONTRIBUTING.md
/usr/share/doc/golang-github-google-wire-devel/CONTRIBUTORS
/usr/share/doc/golang-github-google-wire-devel/README.md
/usr/share/doc/golang-github-google-wire-devel/docs
/usr/share/doc/golang-github-google-wire-devel/docs/best-practices.md
/usr/share/doc/golang-github-google-wire-devel/docs/faq.md
/usr/share/doc/golang-github-google-wire-devel/docs/guide.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/google
/usr/share/gocode/src/github.com/google/wire
/usr/share/gocode/src/github.com/google/wire/.goipath
/usr/share/gocode/src/github.com/google/wire/CODE_OF_CONDUCT.md
/usr/share/gocode/src/github.com/google/wire/CONTRIBUTING.md
/usr/share/gocode/src/github.com/google/wire/README.md
/usr/share/gocode/src/github.com/google/wire/cmd
/usr/share/gocode/src/github.com/google/wire/cmd/wire
/usr/share/gocode/src/github.com/google/wire/cmd/wire/main.go
/usr/share/gocode/src/github.com/google/wire/docs
/usr/share/gocode/src/github.com/google/wire/docs/best-practices.md
/usr/share/gocode/src/github.com/google/wire/docs/faq.md
/usr/share/gocode/src/github.com/google/wire/docs/guide.md
/usr/share/gocode/src/github.com/google/wire/go.mod
/usr/share/gocode/src/github.com/google/wire/internal
/usr/share/gocode/src/github.com/google/wire/internal/wire
/usr/share/gocode/src/github.com/google/wire/internal/wire/analyze.go
/usr/share/gocode/src/github.com/google/wire/internal/wire/copyast.go
/usr/share/gocode/src/github.com/google/wire/internal/wire/errors.go
/usr/share/gocode/src/github.com/google/wire/internal/wire/parse.go
/usr/share/gocode/src/github.com/google/wire/internal/wire/wire.go
/usr/share/gocode/src/github.com/google/wire/internal/wire/wire_test.go
/usr/share/gocode/src/github.com/google/wire/wire.go
/usr/share/licenses/golang-github-google-wire-devel
/usr/share/licenses/golang-github-google-wire-devel/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-google-wire-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).