sloc on AUR (Arch User Repository)

Last updated: May 20,2024

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

$ yay -S sloc

* (Optional) Uninstall sloc on Arch using YAY

$ yay -Rns sloc

2. Manually Install "sloc" via AUR

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

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

b. Clone sloc's git locally

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

c. Go to ~/sloc folder and install it

$ cd ~/sloc $ makepkg -si

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

ID: 1347569
Name: sloc
PackageBaseID: 143134
PackageBase: sloc
Version: 1.3.1-1
Description: Simple source-lines-of-code counter
URL: https://github.com/bytbox/sloc/
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: srl
Submitter: srl
FirstSubmitted: 1561910388
LastModified: 1699123089
URLPath: /cgit/aur.git/snapshot/sloc.tar.gz