How To Install godoctor on Fedora 36
In this tutorial we learn how to install godoctor in Fedora 36. godoctor is A golang refactoring tool
Introduction
In this tutorial we learn how to install godoctor on Fedora 36.
What is godoctor
Go Doctor - The Golang Refactoring Engine.
We can use yum or dnf to install godoctor on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install godoctor.
Install godoctor 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 godoctor using dnf by running the following command:
sudo dnf -y install godoctor
Install godoctor 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 godoctor using yum by running the following command:
sudo yum -y install godoctor
How To Uninstall godoctor on Fedora 36
To uninstall only the godoctor package we can use the following command:
sudo dnf remove godoctor
godoctor Package Contents on Fedora 36
/usr/bin/godoctor
/usr/lib/.build-id
/usr/lib/.build-id/65
/usr/lib/.build-id/65/a2bf9ed08d96f83a034c67e3f2690001943bb5
/usr/share/doc/godoctor
/usr/share/doc/godoctor/README.md
/usr/share/licenses/godoctor
/usr/share/licenses/godoctor/LICENSE
References
Summary
In this tutorial we learn how to install godoctor on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).