我已经按照官方网站(https://www.dartlang.org/tools/debian.html)的说明安装了Dart 。更确切地说:
$ sudo apt-get update
$ sudo apt-get install apt-transport-https
# Get the Google Linux package signing key.
$ sudo sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
# Set up the location of the stable repository.
$ sudo sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
$ sudo apt-get update
$ sudo apt-get install dart
安装成功,但是一段时间后,我发现没有其他相关命令,例如pub,dart2js。
pub: command not found
dart2js: command not found
怎么了?
操作系统:Ubuntu 14.10