uptane / aktualizr

C++ Uptane Client
Mozilla Public License 2.0
15 stars 15 forks source link

How to run the aktualizr #97

Open Moeed148a opened 1 year ago

Moeed148a commented 1 year ago

I have followed all the steps given in this repository and also successfully completed the steps without an error. But i don't know how to run the aktualizr.

I just type below command on ubuntu terminal

aktualizr -help

pattivacek commented 1 year ago

Generally it only makes sense to run aktualizr on the platform that you wish to OTA update, which probably isn't your Ubuntu machine. As far as I know, it has only been used in conjunction with Yocto-built embedded Linux images.

If you really want to try running it locally just to check it out, see https://docs.ota.here.com/ota-client/latest/simulate-device-basic.html. I think the old Here OTA docs are still accurate even if you don't use their service.

If you're looking to deploy this yourself, I have to warn you that it isn't easy, but there is a repo with server-side code that I think still works: https://github.com/uptane/ota-community-edition/.

It's probably easier to use the services of an existing vendor. The two of which I know of are Foundries and Toradex.