Skip to content

"Linux" instructions assume Ubuntu #11945

Open
@leadVisionary

Description

@leadVisionary

Page URL

https://docs.flutter.dev/get-started/install/linux/android/

Page source

https://github.com/flutter/website/tree/main/src/content/get-started/install/linux/android.md

Describe the problem

While it's semi-reasonable that someone on Arch Linux will know how to use Pacman and find packages themselves, Mint and Cinnamon are beginner friendly distros as well. It doesn't reflect well on the Flutter community/Google to be so imprecise when talking table stakes things like setup.

I'm sure there are enough technical contributors using different distros of Linux to replace hard-coded sudo apt-get Debian/Ubuntu instructions with "Use your distribution's package manager" and make a little table of what the dependencies are called in each repo.

(Or develop some Snaps/Flatpacks and point the instructions there)

Expected fix

Install the following packages: curl, git, unzip, xz-utils, zip, libglu1-mesa

On Debian/Ubunutu:
sudo apt-get update -y && sudo apt-get upgrade -y;
sudo apt-get install -y curl git unzip xz-utils zip libglu1-mesa

On Arch Linux/Mint:
pacman -Syu curl git unzip xz zip glu

Additional context

No response

I would like to fix this problem.

  • I will try and fix this problem on docs.flutter.dev.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a.get-startedRelates to the Getting Started section of docs.flutter.deve2-daysEffort: < 5 daysfrom.page-issueReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions