Jump to content
XPEnology Community

How to... libffi-dev libssl-dev on XPEnology


darkneo

Recommended Posts

Hello all!

In order to activate Python scripts on my domoticz server (hosted in XPEnology :P ), I need to install libffi-dev & libssl-dev.

 

On any linux machines, it would be easy... apt-get and you're done!

On native DSM, you might handle it with IPKG (and bootstrap). 

 

But how to install those packages on XPEnology? After setting this up, I will need to build a dedicated env using virutalenv. Hereunder the complete list of commands to be sent:

sudo apt-get install python3 python3-dev python3-pip libffi-dev libssl-dev
sudo pip3 install -U setuptools
sudo pip3 install -U virtualenv
cd domoticz/plugins
git clone https://github.com/mrin/domoticz-mirobot-plugin.git xiaomi-mirobot
cd xiaomi-mirobot
virtualenv -p python3 .env
source .env/bin/activate

pip3 install -r pip_req.txt

All pip3 commands are "easy" to use (the DSM used for Domoticz includes Python3.5 libraries :) ), but for the apt-get prequisites... I am quite... stuck.... 

 

Thans for your help. 

 

FYI: I just know a little the tools, even if I seem to know it... Help for newbie would be grantly appreciated :P

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...