Hi guys,
I've started packaging the binary versions of both the 64 and 32 bit variants of the Dart ressources for easy installation on Ubuntu.
I'm testing this on 13.04 and 12.10 but the packages should install on other versions too.
You can find the PPA here:
Basic instructions to get Dart installed:
sudo add-apt-repository ppa:hachre/dart
sudo apt-get update
sudo apt-get install darteditor dartsdk dartium
I've also made some changes to the original files, which is why my packages have the ~hachre designation:
- DartEditor: added high-res icon
- DartEditor: added .desktop file so you can start / find it via the Ubuntu UI
- Dartium: high-res icon for Dartium with a special greenish tint (Chrome all three, Chromium blue, Canary yellow, Dartium green)
- Dartium: .desktop file, which is properly named 'Dartium'
- Dartium: changed the naming from chromium to dartium for the command line command
- Dartium: made it use it's own profile in ~/.config/dartium instead of sharing chromiums profile
- DartSDK: support for symlinks in all the Dart binaries; you can run dart, dart2js, pub, from everywhere on the command line after installation
The advantage of using this over the zip files is you'll get automatic updates through the Ubuntu update mechanism. Also you get my epic changes ;D
Unlike the original zip file the packages are seperated. 'dartsdk' and 'dartium' can be installed as a standalone each and 'darteditor' requires and pulls in both. No matter what combination you choose to install you won't end up with conflicting duplicates of things wrecking havoc on your computer...
You can use this to install just 'dartsdk' on a computer and misuse it as a pure runtime environment to run dart command line scripts. You can even put the standard #!/usr/bin/dart designation on the very first line of your own CLI dart scripts, make them executeable and directly run them via ./my-script.dart.
I'm going to try to keep this as up-to-date as I possibly can, since I'm using it myself :)
I hope I can make it easier for everyone using Ubuntu to get into and try out Dart by offering this!!
Thanks
Harald