knfmt on AUR (Arch User Repository)

Last updated: November 23,2024

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

$ yay -S knfmt

* (Optional) Uninstall knfmt on Arch using YAY

$ yay -Rns knfmt

2. Manually Install "knfmt" via AUR

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

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

b. Clone knfmt's git locally

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

c. Go to ~/knfmt folder and install it

$ cd ~/knfmt $ makepkg -si

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

ID: 1334839
Name: knfmt
PackageBaseID: 195455
PackageBase: knfmt
Version: 4.3.0-1
Description: OpenBSD KNF-style (Kernel Normal Form) C code formatter
URL: https://github.com/mptre/knfmt
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: stepnem
Submitter: stepnem
FirstSubmitted: 1688746897
LastModified: 1697444769
URLPath: /cgit/aur.git/snapshot/knfmt.tar.gz