From b23e6a1b80a7f520d253f9659a40a9bc818eeefb Mon Sep 17 00:00:00 2001 From: syeopite <70992037+syeopite@users.noreply.github.com> Date: Thu, 9 Nov 2023 11:01:30 +0000 Subject: [PATCH] Update manual install instructions (#466) --- docs/installation.md | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 4dae24b..53e0375 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -110,23 +110,23 @@ docker-compose up Follow the instructions for your distribution here: https://crystal-lang.org/install/ -Note: Invidious currently supports the following Crystal versions: `1.8.2` / `1.7.X` / `1.6.X` / `1.5.X` / `1.4.1`. +Note: Invidious currently supports the following Crystal versions: `1.9.2` / `1.8.2` / `1.7.X` / `1.6.X` #### Install the dependencies Arch Linux ```bash -sudo pacman -S base-devel librsvg postgresql +sudo pacman -S base-devel librsvg postgresql ttf-opensans ``` Debian/Ubuntu ```bash -sudo apt install libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin libsqlite3-dev zlib1g-dev libpcre3-dev libevent-dev +sudo apt install libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin libsqlite3-dev zlib1g-dev libpcre3-dev libevent-dev fonts-open-sans ``` RHEL based and RHEL-like systems (RHEL, Fedora, AlmaLinux, RockyLinux...) ```bash -sudo dnf install -y openssl-devel libevent-devel libxml2-devel libyaml-devel gmp-devel readline-devel postgresql librsvg2-devel sqlite-devel zlib-devel gcc +sudo dnf install -y openssl-devel libevent-devel libxml2-devel libyaml-devel gmp-devel readline-devel postgresql librsvg2-devel sqlite-devel zlib-devel gcc open-sans-fonts ``` #### Add an Invidious user and clone the repository @@ -164,12 +164,6 @@ cp config/config.example.yml config/config.yml exit ``` -Note: If the command `crystal build` didn't work properly, you can build Invidious without lsquic may solve compatibilities issues: - -```bash -crystal build src/invidious.cr -Ddisable_quic --release -``` - #### Systemd service ```bash @@ -215,12 +209,6 @@ cp config/config.example.yml config/config.yml # Configure config/config.yml how you want ``` -Note: If the command `crystal build` didn't work properly, you can build Invidious without lsquic may solve compatibilities issues: - -```bash -crystal build src/invidious.cr -Ddisable_quic --release -``` - ### Windows Crystal, the programming language used by Invidious, [doesn't support Windows yet](https://github.com/crystal-lang/crystal/issues/5430) but you can still install Invidious through two kinds of ways: