Conan: [question] How to install conan package on a embedded device?

Created on 25 Mar 2020  路  2Comments  路  Source: conan-io/conan

How to install conan package on a embedded device?

I want to use conda to deploy binaries on a embedded target which has no python environment.
What would be the best way to install the packages on the embedded device?

Is installing via SSH possible or is there a conda conan client which has low disk footprint and can run for instance on armv7?

question

Most helpful comment

Hi @niecore

Conan cannot deploy remotely (as a built-in feature). Conan is mostly intended as a package manager for development, not for deployment. It has features like the imports(), deploy() and generator -g deploy to help getting things from the Conan cache and copy them to user folder or other destinations. Maybe the deploy() method you can run there a self.run("ssh ... or scp, at the end of the day it is running python.

Is installing via SSH possible or is there a conda client which has low disk footprint and can run for instance on armv7?

I guess you mean Conan and not conda. If there is no python in the target, you could try creating a Conan self contained executable with the pyinstaller.py file in the root of the repo. But probably it is easier to try some of the above ideas.

All 2 comments

Hi @niecore

Conan cannot deploy remotely (as a built-in feature). Conan is mostly intended as a package manager for development, not for deployment. It has features like the imports(), deploy() and generator -g deploy to help getting things from the Conan cache and copy them to user folder or other destinations. Maybe the deploy() method you can run there a self.run("ssh ... or scp, at the end of the day it is running python.

Is installing via SSH possible or is there a conda client which has low disk footprint and can run for instance on armv7?

I guess you mean Conan and not conda. If there is no python in the target, you could try creating a Conan self contained executable with the pyinstaller.py file in the root of the repo. But probably it is easier to try some of the above ideas.

Thank you :)

Was this page helpful?
0 / 5 - 0 ratings