tree-sitter-ocaml on AUR (Arch User Repository)

Last updated: November 26,2024

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

$ yay -S tree-sitter-ocaml

* (Optional) Uninstall tree-sitter-ocaml on Arch using YAY

$ yay -Rns tree-sitter-ocaml

2. Manually Install "tree-sitter-ocaml" via AUR

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

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

b. Clone tree-sitter-ocaml's git locally

$ git clone https://aur.archlinux.org/tree-sitter-ocaml.git ~/tree-sitter-ocaml

c. Go to ~/tree-sitter-ocaml folder and install it

$ cd ~/tree-sitter-ocaml $ makepkg -si

3. Information about the tree-sitter-ocaml package on Arch User Repository (AUR)

ID: 1374478
Name: tree-sitter-ocaml
PackageBaseID: 200761
PackageBase: tree-sitter-ocaml
Version: 0.20.4-2
Description: ocaml grammar for tree-sitter
URL: https://github.com/tree-sitter/tree-sitter-ocaml
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: kevinschoon
Submitter: kevinschoon
FirstSubmitted: 1703338324
LastModified: 1703338324
URLPath: /cgit/aur.git/snapshot/tree-sitter-ocaml.tar.gz