From 2814a526b36e5767e0bf72054df32a43e4558b9f Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Mon, 24 May 2021 13:28:59 +0200 Subject: [PATCH] Provide a more precise install guide for Archlinux (#71) * Provide a more precise install guide for Archlinux Precise clearly how to install the crystal version required by invidious on Archlinux. * Fix typos * Enhancements * Apply SamantazFox's suggestion Co-authored-by: TheFrenchGhosty <47571719+TheFrenchGhosty@users.noreply.github.com> --- Installation.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Installation.md b/Installation.md index 8fcdba3..e15db34 100644 --- a/Installation.md +++ b/Installation.md @@ -130,7 +130,25 @@ $ docker volume rm invidious_postgresdata Arch Linux ```bash -sudo pacman -S base-devel shards crystal librsvg postgresql +sudo pacman -S base-devel shards librsvg postgresql + +# Invidious depends on crystal 0.36.1-1, so you either have to downgrade Crystal or install it from the archive. + +# Downgrade using the `downgrade` script from the AUR ( https://aur.archlinux.org/packages/downgrade/ ): +# A basic understanding of the AUR is required, and the installation of `yay` (or `paru`) has to be done +sudo pacman -S crystal +yay -S downgrade (or `paru -S downgrade`) +sudo downgrade crystal +# > Select 0.36.1-1 +# When asked to add crystal to the ignore list (so it won't be updated in the future), choose "yes". + +# Install from the archive: +# Checking the package's signature is optional, but is a recommended practice. +cd ~/Downloads +wget https://archive.archlinux.org/packages/c/crystal/crystal-0.36.1-1-x86_64.pkg.tar.zst +wget https://archive.archlinux.org/packages/c/crystal/crystal-0.36.1-1-x86_64.pkg.tar.zst.sig +gpg2 --homedir /etc/pacman.d/gnupg --verify crystal-0.36.1-1-x86_64.pkg.tar.zst.sig crystal-0.36.1-1-x86_64.pkg.tar.zst +sudo pacman -U crystal-0.36.1-1-x86_64.pkg.tar.zst ``` Ubuntu or Debian