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>
This commit is contained in:
Samantaz Fox 2021-05-24 13:28:59 +02:00 committed by GitHub
parent 3ca658aac8
commit 2814a526b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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