flutter / flutter/website

"Linux" instructions assume Ubuntu

Open
#11,945 0 comments 1 reaction 0 assignees View on GitHub
a.get-started e2-days from.page-issue p2-medium
Dominant language
Dart
Stars
3.1k
Forks
3.5k
Avg merge
2d 4h
Merged PRs (30d)
95

Description

### 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](https://curl.se/), [git](https://git-scm.com/), [unzip](https://linux.die.net/man/1/unzip), [xz-utils](https://xz.tukaani.org/xz-utils/), [zip](https://linux.die.net/man/1/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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.