Updated install instructions

This commit is contained in:
simonmicro 2022-12-11 22:00:05 +01:00
parent 5674e26979
commit 37d09c6797
No known key found for this signature in database
GPG key ID: 033A4D4CE4E063D6

View file

@ -162,10 +162,10 @@ They might be useful to you:
- Python 3.x. - Python 3.x.
- If the `tzlocal` module is installed, the "Request Time" in the verbose output will be converted into local time. Otherwise, it will be in UTC. - If the `tzlocal` module is installed, the "Request Time" in the verbose output will be converted into local time. Otherwise, it will be in UTC.
- It can use the `sqlite3` module, storing activation data in a database so it can be recalled again. - It can use the `sqlite3` module, storing activation data in a database so it can be recalled again.
- Installation example on Ubuntu / Mint: - Installation example on Ubuntu / Mint (`requirements.txt` is from the sources):
- `sudo apt-get update` - `sudo apt-get update`
- `sudo apt-get install python3-tk python3-pip` - `sudo apt-get install python3-pip`
- `sudo pip3 install tzlocal pysqlite3` (on Ubuntu Server 22, you'll need `pysqlite3-binary` - see [this issue](https://github.com/Py-KMS-Organization/py-kms/issues/76)) - `pip3 install -r requirements.txt` (on Ubuntu Server 22, you'll need `pysqlite3-binary` - see [this issue](https://github.com/Py-KMS-Organization/py-kms/issues/76))
### Startup ### Startup
A Linux user with `ip addr` command can get his KMS IP (Windows users can try `ipconfig /all`). A Linux user with `ip addr` command can get his KMS IP (Windows users can try `ipconfig /all`).