"Linux" instructions assume Ubuntu

未关闭
#11,945 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
半天
新手友好度
58/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
停滞
技术栈
linux

调研方向

打开 src/content/get-started/install/linux/android.md,检查当前的 Linux 依赖项说明。更新这些说明,针对 issue 中提到的各个发行版,描述其特定的包管理器和包名称,同时保留必需的依赖项列表。当页面不再将 Ubuntu 命令作为通用的 Linux 说明时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

a.get-started e2-days from.page-issue p2-medium
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.
主要语言
Dart
星标
3.1k
派生
3.5k
平均合并
2 天 10 小时
30 天内合并 PR
88

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

flutter/website 的其他 Issue

查看 flutter/website 的全部 Issue

相似的 Issue

更多 Dart Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。