mirror of
https://github.com/iv-org/documentation.git
synced 2024-12-22 22:09:22 -05:00
Update manual install instructions (#466)
This commit is contained in:
parent
b80844bda0
commit
b23e6a1b80
@ -110,23 +110,23 @@ docker-compose up
|
|||||||
|
|
||||||
Follow the instructions for your distribution here: https://crystal-lang.org/install/
|
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
|
#### Install the dependencies
|
||||||
|
|
||||||
Arch Linux
|
Arch Linux
|
||||||
```bash
|
```bash
|
||||||
sudo pacman -S base-devel librsvg postgresql
|
sudo pacman -S base-devel librsvg postgresql ttf-opensans
|
||||||
```
|
```
|
||||||
|
|
||||||
Debian/Ubuntu
|
Debian/Ubuntu
|
||||||
```bash
|
```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...)
|
RHEL based and RHEL-like systems (RHEL, Fedora, AlmaLinux, RockyLinux...)
|
||||||
```bash
|
```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
|
#### Add an Invidious user and clone the repository
|
||||||
@ -164,12 +164,6 @@ cp config/config.example.yml config/config.yml
|
|||||||
exit
|
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
|
#### Systemd service
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -215,12 +209,6 @@ cp config/config.example.yml config/config.yml
|
|||||||
# Configure config/config.yml how you want
|
# 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
|
### 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:
|
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user