wishtohear/bucket-water-oms/flutter-setting-up-on-linux
Claude Code and agent skill by wishtohear/bucket-water-oms
- community
Checking that the SKILL.md file is still in the repository.
Sets up a Linux environment for Flutter development. Use when configuring a Linux machine to run, build, or deploy Flutter applications.
Install
npx vskill@latest install wishtohear/bucket-water-oms/flutter-setting-up-on-linuxSKILL.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.
Task Progress:
- [ ] 1. Update package lists and upgrade existing packages.
- [ ] 2. Install core utilities and build dependencies.
- [ ] 3. Configure IDE/Editor with Flutter support.
- [ ] 4. (Conditional) Enable Linux support on ChromeOS.
1. Update and Install Dependencies Execute the following command to install all required packages on Debian/Ubuntu systems:
2. Conditional: ChromeOS Setup
- If developing on a Chromebook: Turn on Linux support in the ChromeOS settings. Ensure the Linux container is fully updated using the
apt-getcommands above before proceeding.
3. IDE Configuration Install Visual Studio Code, Android Studio, or an IntelliJ-based IDE. Install the official Dart and Flutter extensions/plugins to enable language server features and debugging capabilities.
Workflow: Validating the Environment
Run this feedback loop to ensure the toolchain is correctly recognized by the Flutter SDK.
Task Progress:
- [ ] 1. Run environment validator.
- [ ] 2. Verify connected Linux devices.
- [ ] 3. Resolve toolchain errors.
1. Run Validator Execute the Flutter diagnostic tool with verbose output:
2. Review and Fix (Feedback Loop)
- If errors exist under the "Linux toolchain" section: Review the missing dependencies, install the flagged packages, and re-run
flutter doctor -v. Repeat until the Linux toolchain section passes.
3. Verify Device Availability Ensure the Linux desktop is recognized as a valid deployment target:
Expected Output: At least one entry must display with the platform marked as linux.
Workflow: Preparing for Distribution (Snapcraft)
When preparing a release build for the Snap Store, configure the Snapcraft build environment.
Task Progress:
- [ ] 1. Install Snapcraft and LXD.
- [ ] 2. Configure LXD.
- [ ] 3. Build the Snap package.
1. Install Build Tools
2. Configure LXD Initialize LXD and add the current user to the lxd group:
Note: Log out and log back in to apply the group changes.
3. Build the Snap Navigate to the project root containing the snap/snapcraft.yaml file and execute the build:
Examples
Baseline snapcraft.yaml Configuration
Use this template for the <project_root>/snap/snapcraft.yaml file when packaging a Flutter Linux app for the Snap Store.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingbucket-water-oms-admin-mobile/skills/flutter-setting-up-on-linux/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wishtohear/bucket-water-oms/flutter-setting-up-on-linux)