From c850d39de1ef54edf494dcf8c6353261dcd5fba5 Mon Sep 17 00:00:00 2001 From: hybridkernel Date: Mon, 13 Jan 2025 22:08:20 +1100 Subject: [PATCH 1/4] Add linux install instructions for smrs --- docs/video/smoothie/installation.md | 58 +++++++++++++++++++++++++---- 1 file changed, 50 insertions(+), 8 deletions(-) diff --git a/docs/video/smoothie/installation.md b/docs/video/smoothie/installation.md index c4e10684..dd4f36c3 100644 --- a/docs/video/smoothie/installation.md +++ b/docs/video/smoothie/installation.md @@ -81,14 +81,56 @@ icon: material/folder-download * === "Linux" - - todo, cargo should be able to compile it - - for arch nerds see the dependencies of - - * you'll also need for frame blending - * and for pre-interp - + + **Archlinux** + + You can install smoothie-rs on Archlinux by either adding the [smrs-arch-repo](https://gitlab.com/hzqki/smrs-arch-repo) or installing it via the AUR + + Repo (Recommended): + + 1. Add `smrs-arch-repo` to your `/etc/pacman.conf` + + ```toml + [smrs-arch-repo] + SigLevel = Optional DatabaseOptional + Server = https://gitlab.com/hzqki/$repo/-/raw/main/$arch + ``` + + 2. Install `smoothie-rs-linux-git` through pacman + + ```bash + pacman -S smoothie-rs-linux-git + ``` + + AUR + + 1. Install `smoothie-rs-linux-git` from the AUR + + ```bash + yay -S smoothie-rs-linux-git + ``` + + **Other Distros** + + 1. Install [Distrobox](https://distrobox.it/) + + 2. Install Archlinux inside distrobox: + + ```bash + distrobox-create -i archlinux:latest -n smrs + ``` + ```bash + distrobox-enter smrs + ``` + Update keyring and packages :D + + ```bash + sudo pacman-key --init + sudo pacman -Sy archlinux-keyring + sudo pacman -Syu + ``` + Then just follow the Archlinux installation instructions +