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