You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
linux/setup.sh is currently a stub that prints a pointer to the official guide and exits 1. This issue tracks bringing it to parity with the Windows script.
What parity means is specified in CONTRIBUTING.md → The porting contract — same flag surface (--verify-only, --skip-android, --install-root, --precache), same exit codes (0 ok / 1 missing or failed / 2 installed but flutter doctor found toolchain issues), idempotent steps that check before acting, and environment changes written to the shell profile behind a marker-delimited block instead of the Windows registry.
Rough shape of the work
Resolve and install the latest stable Flutter SDK (releases JSON, Linux archive, SHA-256 verified)
Install Temurin JDK 17 (Adoptium API), set JAVA_HOME
Install Android cmdline-tools into cmdline-tools/latest, then platform-tools, platforms;android-36, build-tools;36.0.0
Accept Android SDK licenses non-interactively
Write PATH / ANDROID_HOME / JAVA_HOME into the shell profile idempotently (bash and zsh)
Decide and document how to handle the distro-package prerequisites Flutter needs (curl, unzip, git, xz-utils, libglu1-mesa) — including the case where the user has no sudo
--verify-only mode that changes nothing
Run flutter doctor and map its result to the exit-code contract
Partial work is welcome — comment here saying which step and which distro you're taking.
linux/setup.shis currently a stub that prints a pointer to the official guide and exits 1. This issue tracks bringing it to parity with the Windows script.What parity means is specified in CONTRIBUTING.md → The porting contract — same flag surface (
--verify-only,--skip-android,--install-root,--precache), same exit codes (0ok /1missing or failed /2installed butflutter doctorfound toolchain issues), idempotent steps that check before acting, and environment changes written to the shell profile behind a marker-delimited block instead of the Windows registry.Rough shape of the work
JAVA_HOMEcmdline-toolsintocmdline-tools/latest, thenplatform-tools,platforms;android-36,build-tools;36.0.0PATH/ANDROID_HOME/JAVA_HOMEinto the shell profile idempotently (bash and zsh)curl,unzip,git,xz-utils,libglu1-mesa) — including the case where the user has no sudo--verify-onlymode that changes nothingflutter doctorand map its result to the exit-code contractPartial work is welcome — comment here saying which step and which distro you're taking.