golang-mockery on AUR (Arch User Repository)

Last updated: July 05,2024

1. Install "golang-mockery" 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 golang-mockery on Arch using YAY

$ yay -S golang-mockery

* (Optional) Uninstall golang-mockery on Arch using YAY

$ yay -Rns golang-mockery

2. Manually Install "golang-mockery" via AUR

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

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

b. Clone golang-mockery's git locally

$ git clone https://aur.archlinux.org/golang-mockery.git ~/golang-mockery

c. Go to ~/golang-mockery folder and install it

$ cd ~/golang-mockery $ makepkg -si

3. Information about the golang-mockery package on Arch User Repository (AUR)

ID: 1332532
Name: golang-mockery
PackageBaseID: 153580
PackageBase: golang-mockery
Version: 2.35.4-1
Description: A mock code autogenerator for golang
URL: https://github.com/vektra/mockery
NumVotes: 4
Popularity: 6.2E-5
OutOfDate:
Maintainer:
Submitter: matthias.lisin
FirstSubmitted: 1590400809
LastModified: 1697077749
URLPath: /cgit/aur.git/snapshot/golang-mockery.tar.gz