ocaml-ocamlformat on AUR (Arch User Repository)

Last updated: May 20,2024

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

$ yay -S ocaml-ocamlformat

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

$ yay -Rns ocaml-ocamlformat

2. Manually Install "ocaml-ocamlformat" via AUR

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

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

b. Clone ocaml-ocamlformat's git locally

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

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

$ cd ~/ocaml-ocamlformat $ makepkg -si

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

ID: 1178122
Name: ocaml-ocamlformat
PackageBaseID: 188453
PackageBase: ocaml-ocamlformat
Version: 0.24.1-3
Description: Auto-formatter for OCaml code
URL: https://github.com/ocaml-ppx/ocamlformat
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: eclairevoyant
Submitter: eclairevoyant
FirstSubmitted: 1670144186
LastModified: 1670155905
URLPath: /cgit/aur.git/snapshot/ocaml-ocamlformat.tar.gz