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.
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.
Pinned Comments
patlefort commented on 2024-07-11 10:23 (UTC)
Users can choose to use
fvm-sourcebuild
to build packages that usefvm
, if they want to build flutter engine from source.xiota commented on 2024-05-14 14:11 (UTC) (edited on 2024-05-14 14:12 (UTC) by xiota)
Packagers: Consider using
aur/fvm
.xiota commented on 2024-04-22 06:49 (UTC) (edited on 2024-07-23 23:53 (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.
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.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.