Browse Source
add: Fedora and Arch Linux install guide
pull/1135/head
Philip H
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
24 additions and
0 deletions
-
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: |
|
|
|