cmocka-git on AUR (Arch User Repository)

Last updated: November 23,2024

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

$ yay -S cmocka-git

* (Optional) Uninstall cmocka-git on Arch using YAY

$ yay -Rns cmocka-git

2. Manually Install "cmocka-git" via AUR

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

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

b. Clone cmocka-git's git locally

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

c. Go to ~/cmocka-git folder and install it

$ cd ~/cmocka-git $ makepkg -si

3. Information about the cmocka-git package on Arch User Repository (AUR)

ID: 1239260
Name: cmocka-git
PackageBaseID: 124912
PackageBase: cmocka-git
Version: 1.1.5.r196.g309ee5e-2
Description: An unit testing framework for C with support for mock objects
URL: https://cmocka.org/
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: Chocobo1
Submitter: Chocobo1
FirstSubmitted: 1503121934
LastModified: 1681137770
URLPath: /cgit/aur.git/snapshot/cmocka-git.tar.gz