ardera / flutter-pi

A light-weight Flutter Engine Embedder for Linux Embedded that runs without X11 or Wayland.
MIT License
1.54k stars 157 forks source link

How can I install the precompile flutter-pi package on Raspberry Pi? #432

Open iosifnicolae2 opened 3 weeks ago

iosifnicolae2 commented 3 weeks ago

Hi there,

How can I install the precompiled binaries of flutter-pi on Raspberry pi 3 model a running Alpine Linux?

I've tried:

wget https://github.com/ardera/flutter-pi/releases/download/release%2F1.0.0/flutterpi-aarch64-linux-gnu-release.tar.xz
tar xf flutterpi-aarch64-linux-gnu-release.tar.xz
chmod +x flutter-pi
bash flutter-pi

And I've got:

flutter-pi: flutter-pi: cannot execute binary file

Any idea on how to run these binaries?

Thank you!

ardera commented 2 weeks ago

These binaries are compiled on debian bullseye, and will likely not work on anything that's not debian/ubuntu based :/ So I'm afraid you still have to build it yourself for now.

Though I plan to add support for cross-compiling flutter-pi in flutterpi_tool in the future, which should help in your case.