ocaml-yojson on AUR (Arch User Repository)

Last updated: October 07,2024

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

$ yay -S ocaml-yojson

* (Optional) Uninstall ocaml-yojson on Arch using YAY

$ yay -Rns ocaml-yojson

2. Manually Install "ocaml-yojson" via AUR

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

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

b. Clone ocaml-yojson's git locally

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

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

$ cd ~/ocaml-yojson $ makepkg -si

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

ID: 1335669
Name: ocaml-yojson
PackageBaseID: 144872
PackageBase: ocaml-yojson
Version: 2.1.1-1
Description: Low level JSON binary for OCaml
URL: https://github.com/ocaml-community/yojson
NumVotes: 4
Popularity: 0
OutOfDate:
Maintainer: condy
Submitter: nerflad
FirstSubmitted: 1567760581
LastModified: 1697558990
URLPath: /cgit/aur.git/snapshot/ocaml-yojson.tar.gz