From b50899d4dd1a123f703becce9d51ebea18538b12 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Wed, 15 Apr 2020 10:38:49 +0100 Subject: [PATCH] Updated Install (markdown) --- Install.md | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/Install.md b/Install.md index 5cb06ed..417aff7 100644 --- a/Install.md +++ b/Install.md @@ -1,34 +1,19 @@ ## 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` -Next, enter the directory and run the install. +Then enter the directory and run the install. ``` hrfee@lab:~$ cd jellyfin-accounts 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 It should be as simple as `python3 setup.py install`. If not, submit an issue.