How To Install golang-x-lint on Fedora 36
Introduction
In this tutorial we learn how to install golang-x-lint
on Fedora 36.
What is golang-x-lint
Golint is a linter for Go source code.
We can use yum
or dnf
to install golang-x-lint
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-x-lint.
Install golang-x-lint 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-x-lint
using dnf
by running the following command:
sudo dnf -y install golang-x-lint
Install golang-x-lint 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-x-lint
using yum
by running the following command:
sudo yum -y install golang-x-lint
How To Uninstall golang-x-lint on Fedora 36
To uninstall only the golang-x-lint
package we can use the following command:
sudo dnf remove golang-x-lint
golang-x-lint Package Contents on Fedora 36
/usr/bin/golint
/usr/lib/.build-id
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/a95d9775395d4333e197f2d539efc525fe9012
/usr/share/doc/golang-x-lint
/usr/share/doc/golang-x-lint/CONTRIBUTING.md
/usr/share/doc/golang-x-lint/README.md
/usr/share/licenses/golang-x-lint
/usr/share/licenses/golang-x-lint/LICENSE
References
Summary
In this tutorial we learn how to install golang-x-lint
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).