bats on AUR (Arch User Repository)

Last updated: May 13,2024

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

$ yay -S bats

* (Optional) Uninstall bats on Arch using YAY

$ yay -Rns bats

2. Manually Install "bats" via AUR

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

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

b. Clone bats's git locally

$ git clone https://aur.archlinux.org/bats.git ~/bats

c. Go to ~/bats folder and install it

$ cd ~/bats $ makepkg -si

3. Information about the bats package on Arch User Repository (AUR)

ID: 609920
Name: bats
PackageBaseID: 107142
PackageBase: bats
Version: 1.2.0-1
Description: Battery status in the console
URL: http://github.com/cdown/bats
NumVotes: 3
Popularity: 0
OutOfDate:
Maintainer: cdown
Submitter: cdown
FirstSubmitted: 1454680725
LastModified: 1557081287
URLPath: /cgit/aur.git/snapshot/bats.tar.gz