Updated Install (markdown)

Harvey Tindall 2020-04-15 10:38:49 +01:00
parent fe567d791f
commit b50899d4dd

@ -1,34 +1,19 @@
## Debian ## Debian
First, acquire the software. First, ensure all the necessary dependencies are installed.
`hrfee@lab:~$ sudo apt-get install libsasl2-dev python3-dev libldap2-dev libssl-dev`
Next, acquire the software.
`hrfee@lab:~$ git clone https://github.com/hrfee/jellyfin-accounts.git` `hrfee@lab:~$ git clone https://github.com/hrfee/jellyfin-accounts.git`
Next, enter the directory and run the install. Then enter the directory and run the install.
``` ```
hrfee@lab:~$ cd jellyfin-accounts hrfee@lab:~$ cd jellyfin-accounts
hrfee@lab:~$ python3 setup.py install hrfee@lab:~$ python3 setup.py install
``` ```
Like me, you might encounter an error here.
On some systems, flask's dependency `python-ldap` has trouble building.
```
Modules/constants.h:7:10: fatal error: lber.h: No such file or directory
#include "lber.h"
^~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for python-ldap
```
To remedy this, some of its own dependencies need installing.
`hrfee@lab:~$ sudo apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev`
Then all you need to do is re-run `python3 setup.py install`.
## Other OSes ## Other OSes
It should be as simple as `python3 setup.py install`. If not, submit an issue. It should be as simple as `python3 setup.py install`. If not, submit an issue.