如何在 Fedora 29 上安装 Dart SDK?

Mus*_*yed 2 linux fedora sdk dart

Dart 文档中用于安装其 sdk 的 Bash 命令适用于 Ubuntu(使用 apt-get)。我使用了dnf install dart但它返回了以下错误:

 No match for argument: dart
    Error: Unable to find a match
Run Code Online (Sandbox Code Playgroud)

我使用的是 Fedora 29。

小智 5

无需从源代码构建:-

您可以使用此存档下载特定版本的 Dart SDK 和 Dart API 文档。Dart SDK 存档