mdbook-d2 on AUR (Arch User Repository)

Last updated: November 08,2024

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

$ yay -S mdbook-d2

* (Optional) Uninstall mdbook-d2 on Arch using YAY

$ yay -Rns mdbook-d2

2. Manually Install "mdbook-d2" via AUR

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

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

b. Clone mdbook-d2's git locally

$ git clone https://aur.archlinux.org/mdbook-d2.git ~/mdbook-d2

c. Go to ~/mdbook-d2 folder and install it

$ cd ~/mdbook-d2 $ makepkg -si

3. Information about the mdbook-d2 package on Arch User Repository (AUR)

ID: 1236827
Name: mdbook-d2
PackageBaseID: 192370
PackageBase: mdbook-d2
Version: 0.2.2-1
Description: A preprocessor for mdbook to convert d2 codeblocks into SVG images
URL: https://github.com/danieleades/mdbook-d2
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: grawlinson
Submitter: grawlinson
FirstSubmitted: 1680680991
LastModified: 1680680991
URLPath: /cgit/aur.git/snapshot/mdbook-d2.tar.gz