From 7b0dc220c273530db65aa91aef815e07efbc2a65 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Tue, 17 Dec 2024 16:24:02 +0100
Subject: [PATCH] install: clarify distro required dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

From Fedora 40?, `libsodium-devel` is required for `_get_nacl()`

remove extra Debian pkg installation dependencies

`python3-wheel` shouldn’t be necessary with `pipx` installation
The two others are development dependencies are probably here
in case wheels have to be built because there are missing

Not sure if this is still needed with more recent distros
Distros such as Mint and Raspbian might have wrong dependency tree
---
 docs/install_pipx.md | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/docs/install_pipx.md b/docs/install_pipx.md
index 3e7310f9..c653986f 100644
--- a/docs/install_pipx.md
+++ b/docs/install_pipx.md
@@ -25,7 +25,7 @@ On a Unix system, run in your shell following commands:
 
 === "Fedora"
     ```
-    sudo dnf install libsodium
+    sudo dnf install libsodium-devel
     ```
 
 === "macOS"
@@ -52,12 +52,6 @@ Check [`pipx` documentation](https://pipx.pypa.io/stable/) for an extended insta
     brew install python3 pipx
     ```
 
-Following packages might be necessary:
-
-```
-sudo apt install libffi-dev python3-wheel libssl-dev
-```
-
 ## Install with pipx
 
 [pipx](https://pypa.github.io/pipx/) tool is recommended for Python executables.
-- 
GitLab