add: Fedora and Arch Linux install guide
This commit is contained in:
parent
e7e374cfd7
commit
8044c53815
|
@ -27,6 +27,30 @@ pip3 install bcrypt
|
||||||
pip3 install bcrypt --break-system-packages
|
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
|
## Generating bcrypt
|
||||||
### Do not name the file `bcrypt.py` as it will cause an error.
|
### Do not name the file `bcrypt.py` as it will cause an error.
|
||||||
Create a python file with the following content:
|
Create a python file with the following content:
|
||||||
|
|
Loading…
Reference in New Issue