From 7398da1e0a36b2ab6553d35ac5d44aaf43e65f0e Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Sat, 27 Apr 2019 21:37:08 +0200
Subject: [PATCH] [doc] #7: Install pip and pipenv: install libsodium on the
 system as required by pylibscrypt

---
 doc/install_pip.md    | 8 ++++++++
 doc/install_pipenv.md | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/doc/install_pip.md b/doc/install_pip.md
index 26701786..7695e44d 100644
--- a/doc/install_pip.md
+++ b/doc/install_pip.md
@@ -5,6 +5,14 @@ You have to use a shell on GNU/Linux or a command tool (`cmd.exe`) on Windows.
 ## GNU/Linux 
 The system must use UTF-8 locales…
 
+### Install libsodium
+
+```bash
+sudo apt install libsodium23 # Debian Buster
+sudo apt install libsodium18 # Debian Stretch
+sudo dnf install libsodium # Fedora
+```
+
 ### Install dependencies before installing
 
 ```bash
diff --git a/doc/install_pipenv.md b/doc/install_pipenv.md
index 4c386753..50a18628 100644
--- a/doc/install_pipenv.md
+++ b/doc/install_pipenv.md
@@ -1,5 +1,13 @@
 # Install Silkaj with Pipenv
 
+### Install libsodium
+
+```bash
+sudo apt install libsodium23 # Debian Buster
+sudo apt install libsodium18 # Debian Stretch
+sudo dnf install libsodium # Fedora
+```
+
 ### Install pipenv
 
 - [Pipenv installation instructions](https://github.com/pypa/pipenv#installation)
-- 
GitLab