From 8044c53815081e7ba842a0da04409f6f291a14b0 Mon Sep 17 00:00:00 2001 From: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Thu, 27 Jun 2024 10:18:09 +0200 Subject: [PATCH] add: Fedora and Arch Linux install guide --- Generate.bcrypt.hash.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Generate.bcrypt.hash.md b/Generate.bcrypt.hash.md index 92d5153..8adb297 100644 --- a/Generate.bcrypt.hash.md +++ b/Generate.bcrypt.hash.md @@ -27,6 +27,30 @@ pip3 install bcrypt pip3 install bcrypt --break-system-packages ``` +### Fedora based distributions +```bash +sudo dnf update +sudo dnf install python3 python3-pip +# If you use have install python using apt +sudo dnf install python3-bcrypt +# If don't install python using apt +pip3 install bcrypt +# If you got externally-managed-environment error +pip3 install bcrypt --break-system-packages +``` + +### Arch Linux based distributions +```bash +sudo pacman -Syy +sudo pacman -S python python-pip +# If you use have install python using apt +sudo pacman -S python-bcrypt +# If don't install python using apt +pip3 install bcrypt +# If you got externally-managed-environment error +pip3 install bcrypt --break-system-packages +``` + ## Generating bcrypt ### Do not name the file `bcrypt.py` as it will cause an error. Create a python file with the following content: