tree-sitter-c on AUR (Arch User Repository)
Last updated: November 23,2024
1. Install "tree-sitter-c" 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 tree-sitter-c on Arch using YAY
$
yay -S
tree-sitter-c
Copied
* (Optional) Uninstall tree-sitter-c on Arch using YAY
$
yay -Rns
tree-sitter-c
Copied
2. Manually Install "tree-sitter-c" via AUR
a. Ensure you have the base development tools and git installed with:
$
sudo pacman -S --needed
base-devel git
Copied
b. Clone tree-sitter-c's git locally
$
git clone https://aur.archlinux.org/tree-sitter-c.git
~/tree-sitter-c
Copied
c. Go to ~/tree-sitter-c folder and install it
$
cd
~/tree-sitter-c
Copied
$
makepkg -si
Copied
3. Information about the tree-sitter-c package on Arch User Repository (AUR)
ID: 1320527
Name: tree-sitter-c
PackageBaseID: 172400
PackageBase: tree-sitter-c
Version: 0.20.5-2
Description: C grammar for tree-sitter
URL: https://github.com/tree-sitter/tree-sitter-c
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: xiliuya
Submitter: lmartinez-mirror
FirstSubmitted: 1635204656
LastModified: 1695015415
URLPath: /cgit/aur.git/snapshot/tree-sitter-c.tar.gz
Name: tree-sitter-c
PackageBaseID: 172400
PackageBase: tree-sitter-c
Version: 0.20.5-2
Description: C grammar for tree-sitter
URL: https://github.com/tree-sitter/tree-sitter-c
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: xiliuya
Submitter: lmartinez-mirror
FirstSubmitted: 1635204656
LastModified: 1695015415
URLPath: /cgit/aur.git/snapshot/tree-sitter-c.tar.gz