I've installed Dart according to instructions from the official website (https://www.dartlang.org/tools/debian.html). To be more exactly:
$ 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
Installation was successful, but some time later I found that there is no other related commands like pub, dart2js.
pub: command not found
dart2js: command not found
What's wrong?
OS: Ubuntu 14.10
ln -s /usr/lib/dart/bin/pub ~/bin/util/dart-pub
-- I could have called it "pub", the main point from my side is that~/bin/util
is already in my PATH. – will Mar 10 '16 at 12:54