mockgen on AUR (Arch User Repository)
Last updated: January 11,2025
1. Install "mockgen" 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
Copied
b. Install mockgen on Arch using YAY
$
yay -S
mockgen
Copied
* (Optional) Uninstall mockgen on Arch using YAY
$
yay -Rns
mockgen
Copied
2. Manually Install "mockgen" via AUR
a. Ensure you have the base development tools and git installed with:
$
sudo pacman -S --needed
base-devel git
Copied
b. Clone mockgen's git locally
$
git clone https://aur.archlinux.org/mockgen.git
~/mockgen
Copied
c. Go to ~/mockgen folder and install it
$
cd
~/mockgen
Copied
$
makepkg -si
Copied
3. Information about the mockgen package on Arch User Repository (AUR)
ID: 1414508
Name: mockgen
PackageBaseID: 202898
PackageBase: mockgen
Version: 0.4.0-1
Description: GoMock is a mocking framework for the Go programming language.
URL: https://github.com/uber-go/mock
NumVotes: 1
Popularity: 0.6529
OutOfDate:
Maintainer: micwoj92
Submitter: micwoj92
FirstSubmitted: 1708726931
LastModified: 1708726931
URLPath: /cgit/aur.git/snapshot/mockgen.tar.gz
Name: mockgen
PackageBaseID: 202898
PackageBase: mockgen
Version: 0.4.0-1
Description: GoMock is a mocking framework for the Go programming language.
URL: https://github.com/uber-go/mock
NumVotes: 1
Popularity: 0.6529
OutOfDate:
Maintainer: micwoj92
Submitter: micwoj92
FirstSubmitted: 1708726931
LastModified: 1708726931
URLPath: /cgit/aur.git/snapshot/mockgen.tar.gz