31.6 Flutter App Bundle for Linux
20231216
See https://docs.flutter.dev/deployment/linux and examples in https://github.com/AppFlowy-IO/AppFlowy/tree/main/frontend/scripts
Linux Snap
Create
snap/snapcraft.yaml
,snap/gui/bstim.desktop
,snap/gui/bstim.png
;Run
snapcraft
from the root of the project;For a local machine install
snap install --dangerous bstim.snap
.
The build from snapcraft
can take some time, setting up a VM to do
the build.
Linux Tar
Build the app with
flutter build linux
Create a tar archive with
tar --transform 's|^build/linux/x64/release/bundle|app|' -czvf app-0.0.1-linux-x86_64.tar.gz build/linux/x64/release/bundle
Extract the archive with
tar -xzvf app-0.0.1-linux-x86_64.tar.gz
Run the app with
./app/app
You can create an alias for running the app with alias app /path/to/app/app
Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0