golangci-lint on AUR (Arch User Repository)

Last updated: July 08,2024

1. Install "golangci-lint" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install golangci-lint on Arch using YAY

$ yay -S golangci-lint

* (Optional) Uninstall golangci-lint on Arch using YAY

$ yay -Rns golangci-lint

2. Manually Install "golangci-lint" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone golangci-lint's git locally

$ git clone https://aur.archlinux.org/golangci-lint.git ~/golangci-lint

c. Go to ~/golangci-lint folder and install it

$ cd ~/golangci-lint $ makepkg -si

3. Information about the golangci-lint package on Arch User Repository (AUR)

ID: 1411137
Name: golangci-lint
PackageBaseID: 141781
PackageBase: golangci-lint
Version: 1.56.2-1
Description: Linters Runner for Go. 5x faster than gometalinter.
URL: https://github.com/golangci/golangci-lint
NumVotes: 14
Popularity: 0.002207
OutOfDate:
Maintainer: ldez
Submitter: matthias.lisin
FirstSubmitted: 1556995148
LastModified: 1708212706
URLPath: /cgit/aur.git/snapshot/golangci-lint.tar.gz

5. The same packages on other Linux Distributions