docs: update Debian and Ubuntu requirements

This commit is contained in:
Lain Soykaf 2026-07-27 15:31:59 +04:00
commit 3b71770cfa
No known key found for this signature in database
3 changed files with 20 additions and 16 deletions

View file

@ -4,7 +4,7 @@
## Installation
This guide will assume you are on Debian 13 (“Trixie”) or later. This guide should also work with Ubuntu 24.04 (“noble”) and later. It also assumes that you have administrative rights, either as root or a user with [sudo permissions](https://www.digitalocean.com/community/tutorials/how-to-add-delete-and-grant-sudo-privileges-to-users-on-a-debian-vps). If you want to run this guide with root, ignore the `sudo` at the beginning of the lines, unless it calls a user like `sudo -Hu pleroma`; in this case, use `su <username> -s $SHELL -c 'command'` instead.
This guide will assume you are on Debian 13 (“Trixie”) or later. This guide should also work with Ubuntu 26.04 (“resolute”) and later. It also assumes that you have administrative rights, either as root or a user with [sudo permissions](https://www.digitalocean.com/community/tutorials/how-to-add-delete-and-grant-sudo-privileges-to-users-on-a-debian-vps). If you want to run this guide with root, ignore the `sudo` at the beginning of the lines, unless it calls a user like `sudo -Hu pleroma`; in this case, use `su <username> -s $SHELL -c 'command'` instead.
{! backend/installation/generic_dependencies.include !}

View file

@ -45,14 +45,16 @@ Other than things bundled in the OTP release Pleroma depends on:
```
=== "Debian/Ubuntu"
```
apt install curl unzip libncurses5 postgresql postgresql-contrib nginx certbot libmagic-dev
```
On Debian 13 and Ubuntu 24.04, replace `libncurses5` by `libncurses6` and add `libvips42t64`. So
```
apt install curl unzip libncurses6 libvips42t64 postgresql postgresql-contrib nginx certbot libmagic-dev
```
On Debian 12 and Ubuntu 22.04, replace `libvips42t64` with `libvips42`:
```
apt install curl unzip libncurses6 libvips42 postgresql postgresql-contrib nginx certbot libmagic-dev
```
### Installing optional packages
Per [`docs/installation/optional/media_graphics_packages.md`](optional/media_graphics_packages.md):
@ -92,20 +94,22 @@ RUM indexes are an alternative indexing scheme that is not included in PostgreSQ
```
=== "Debian/Ubuntu"
Install the package matching your distribution's PostgreSQL version:
```
# On Trixie and Ubuntu 25.04
# Debian 13
apt install postgresql-17-rum
```
# On Debian 12
```
# Debian 12
apt install postgresql-15-rum
```
# On Ubuntu 24.04
```
# Ubuntu 26.04
apt install postgresql-18-rum
# Ubuntu 24.04
apt install postgresql-16-rum
```
# On Ubuntu 22.04
```
# Ubuntu 22.04
apt install postgresql-14-rum
```