Skip to content
pubscout

flutter_to_debian

2.0.2, released 3 years ago by hooreo.com

CLI tool to package Flutter Linux release builds into Debian (.deb) packages

$ flutter pub add flutter_to_debian
Source repository

What it does

Packages compiled Flutter Linux release binaries into standard Debian (.deb) installers using configuration defined in debian.yaml and pubspec.yaml. It handles desktop entry integration, app icons, maintainer scripts, and skeleton configuration files. It also provides tools to inspect and detect shared library dependencies for the package control file.

AI-written summary of version 2.0.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Distributing a Flutter Linux desktop application as a .deb package for Ubuntu, Debian, or derivatives
  • Automating Linux desktop packaging in CI/CD pipelines
  • Need to bundle maintainer scripts, desktop icons, and config files with a Linux Flutter app

Skip it when

  • Building for non-Linux platforms or package formats other than Debian (e.g., Snap, Flatpak, AppImage)
  • Looking for an in-app runtime Flutter library rather than a build/packaging CLI tool

Strengths

  • Simplifies .deb package creation using a straightforward YAML configuration
  • Includes a dependency detection mode to identify required system libraries
  • Supports maintainer scripts (preinst, postinst, prerm, postrm) and custom skeleton directories

Weaknesses

  • Limited exclusively to Debian-based packaging workflows
  • Requires manual pre-compilation of the Linux release bundle via `flutter build linux`

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
4

Must be activated globally via Dart (`dart pub global activate flutter_to_debian`) and requires a `debian/debian.yaml` configuration alongside desktop entry files.

Alternatives

Packages that do the same job and could replace flutter_to_debian.

  • flutter_app_packager

    Package Flutter apps into native installers and archives for desktop platforms.

  • dmg

    Create, sign, notarize, and staple macOS .DMG files with a single command.

Works with

Packages commonly used together with flutter_to_debian: ones it builds on, ones built on it, and its own family.