How To Install golang-github-google-wire on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-google-wire
on Fedora 36.
What is golang-github-google-wire
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.
We can use yum
or dnf
to install golang-github-google-wire
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.
Install golang-github-google-wire 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
using dnf
by running the following command:
sudo dnf -y install golang-github-google-wire
Install golang-github-google-wire 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
using yum
by running the following command:
sudo yum -y install golang-github-google-wire
How To Uninstall golang-github-google-wire on Fedora 36
To uninstall only the golang-github-google-wire
package we can use the following command:
sudo dnf remove golang-github-google-wire
golang-github-google-wire Package Contents on Fedora 36
/usr/bin/wire
/usr/lib/.build-id
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/57cacd7c5b75097659db0905233a51fd4cf6bc
/usr/share/doc/golang-github-google-wire
/usr/share/doc/golang-github-google-wire/AUTHORS
/usr/share/doc/golang-github-google-wire/CODE_OF_CONDUCT.md
/usr/share/doc/golang-github-google-wire/CONTRIBUTING.md
/usr/share/doc/golang-github-google-wire/CONTRIBUTORS
/usr/share/doc/golang-github-google-wire/README.md
/usr/share/doc/golang-github-google-wire/docs
/usr/share/doc/golang-github-google-wire/docs/best-practices.md
/usr/share/doc/golang-github-google-wire/docs/faq.md
/usr/share/doc/golang-github-google-wire/docs/guide.md
/usr/share/licenses/golang-github-google-wire
/usr/share/licenses/golang-github-google-wire/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-google-wire
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).