flutter-setting-up-on-linux
Installation
SKILL.md
Setting Up a Linux Environment for Flutter Development
Contents
- System Dependencies
- Workflow: Configuring the Linux Toolchain
- Workflow: Validating the Environment
- Workflow: Preparing for Distribution (Snapcraft)
- Examples
System Dependencies
To build and run Flutter applications on a Linux desktop, install the required C/C++ toolchain and system libraries. Flutter relies on dart:ffi to interface with Linux system calls and the GTK framework for UI rendering.
Required packages for Debian/Ubuntu-based distributions:
- Core Utilities:
curl,git,unzip,xz-utils,zip - Build Tools:
clang,cmake,ninja-build,pkg-config - Libraries:
libglu1-mesa,libgtk-3-dev,libstdc++-12-dev
Workflow: Configuring the Linux Toolchain
Follow this sequential workflow to prepare the Linux host for Flutter desktop development.