Package Details: flutter-bin 3.47.6-1

Git Clone URL: https://aur.archlinux.org/flutter-bin.git (read-only, click to copy)
Package Base: flutter-bin
Description: Cross platform widget toolkit for Dart (monolithic)
Upstream URL: https://github.com/flutter/flutter
Keywords: sdk
Licenses: BSD-3-Clause, LicenseRef-Google-Patent-Grant
Conflicts: dart, flutter, flutter-common, flutter-devel, flutter-engine, flutter-engine-android, flutter-engine-android-google-bin, flutter-engine-common, flutter-engine-common-google-bin, flutter-engine-linux, flutter-engine-linux-google-bin, flutter-engine-web, flutter-engine-web-google-bin, flutter-gradle, flutter-gradle-google-bin, flutter-intellij-patch, flutter-material-fonts, flutter-material-fonts-google-bin, flutter-sky-engine, flutter-sky-engine-google-bin, flutter-target-android, flutter-target-linux, flutter-target-web, flutter-tool, flutter-tool-developer
Provides: dart, flutter, flutter-target-android, flutter-target-linux, flutter-target-web, flutter-tool
Submitter: xiota
Maintainer: xiota (mihalycsaba)
Last Packager: mihalycsaba
Votes: 10
Popularity: 0.070264
First Submitted: 2024-04-22 06:23 (UTC)
Last Updated: 2026-10-05 09:33 (UTC)

Required by (140)

Sources (1)

Pinned Comments

patlefort commented on 2024-07-11 10:23 (UTC)

Users can choose to use fvm-sourcebuild to build packages that use fvm, if they want to build flutter engine from source.

xiota commented on 2024-04-22 06:49 (UTC) (edited on 2026-07-24 19:29 (UTC) by xiota)

aur/flutter-bin is needed to provide a working stable flutter package. It is intended to be installed by itself, without any other flutter or dart package.

  • The conflicts are needed to prevent co-installation with other flutter packages. The provides are needed to capture the build depends of packages that use flutter.

    • Packagers: Consider using extra/fvm
  • Flutter requires write permissions to its install directory, /opt/flutter. These may be provided by one of two methods:

    • By default, the executable scripts create a unionfs mirror at ~/.cache/flutter_*. Users should unmount and clear them after upgrades.

      fusermount -uq ~/.cache/flutter_sdk
      rm -rf ~/.cache/{flutter_sdk,flutter_local}
      
    • Allow writing directly to the flutter install path by adding users to the flutter group. Do not store important files there because it is cleared at install and upgrade.

Latest Comments

1 2 3 Next › Last »

mihalycsaba commented on 2026-10-06 07:08 (UTC)

@xiota I use it with the group, because I didn't want to run something after upgrade and look up what is unionfs. Had no issues with this solution, I use flutter like once a month. Don't know if there are drawbacks with the group method or unionfs is necessary at all. I think for most users this is the familiar path since a lot of programs need groups.

xiota commented on 2026-10-05 19:04 (UTC)

@mihalycsaba Do you use this with the flutter group or the unionfs mirror? I'm considering trying to make the script auto detect and clear when the unionfs mirror is out of sync.

xiota commented on 2026-09-14 18:14 (UTC)

@mihalycsaba I'd prefer not to add versions to provides. Packages should use fvm.

mihalycsaba commented on 2026-09-14 16:07 (UTC)

I have tested it, builds and installs like this without problem. I didn't add a version for dart, because I don't even know where to check it. Hopefully the others have the same version as the package.

provides=(
  dart
  "flutter=${pkgver}"
  "flutter-tool=${pkgver}"
  "flutter-target-linux=${pkgver}"
  "flutter-target-android=${pkgver}"
  "flutter-target-web=${pkgver}"
)

My question is, will this be a problem for other packages that depend on this?

dreieck commented on 2026-09-05 15:18 (UTC)

Suggestion:

Add versions to the provides entries, so that packages which have versioned dependency on flutter tools can have them fulfilled by flutter-bin.

Regards and thanks for this package!

mihalycsaba commented on 2026-01-11 16:23 (UTC)

Thanks, I have pushed the new version, already tried it on my machines. I usually run updpkgsums which downloads the files. I will look into pkgctl.

mihalycsaba commented on 2026-01-10 14:17 (UTC)

hey, it's out of date. could you add me as a maintainer? I'm using it often for development. https://github.com/mihalycsaba/snag

xiota commented on 2025-03-17 19:23 (UTC)

@Tech-Tac That doesn't solve the problem on the packaging side. Also, pacman/aur helper may still display warnings about the package being out of date.

Tech-Tac commented on 2025-03-17 18:58 (UTC) (edited on 2025-03-17 18:59 (UTC) by Tech-Tac)

@xiota I'm not really familiar with PKGBUILDs, but I think it is possible flag specific packages to prevent them from being marked as outdated in Pacman/yay by adding them to IgnorePkg, and then we can update using the flutter upgrade command instead.