How can I install Dart at Chromebook?

153 views
Skip to first unread message

Hasan A Yousef

unread,
Nov 21, 2014, 1:47:13 AM11/21/14
to mi...@dartlang.org
How can I install Dart at Chromebook?

Andrew Malcolmson

unread,
Nov 21, 2014, 3:43:54 PM11/21/14
to mi...@dartlang.org
2 ways:

1) Put your Chromebook into Developer mode and install Crouton 


Crouton can be used to install a Linux chroot, by default Ubuntu.  From there you can install Dart as explained here:


However, if your Chromebook has an ARM processor this won't work.  The Dart SDK is only for Intel.

2)  Use an online development environment and install Dart in the shell there.  I use Cloud9.


This will work for Dart CLI apps.  Web apps is trickier.  Cloud9 has a virtual browser preview feature and I recently put a request in with this company to add the Dartium to their list of browsers to load your app with - I know this doesn't make any sense right now, you have to try it to see how it works.

Mario Sergio Machado

unread,
Nov 21, 2014, 3:54:52 PM11/21/14
to mi...@dartlang.org
Right now, I don't think you can.

On Fri, Nov 21, 2014 at 4:47 AM, Hasan A Yousef <hasan...@gmail.com> wrote:
How can I install Dart at Chromebook?

--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.

Robert Nelson

unread,
Nov 21, 2014, 4:12:58 PM11/21/14
to mi...@dartlang.org
On Fri, Nov 21, 2014 at 2:43 PM, Andrew Malcolmson <and...@gmail.com> wrote:
> 2 ways:
>
> 1) Put your Chromebook into Developer mode and install Crouton
>
> https://github.com/dnschneid/crouton
>
> Crouton can be used to install a Linux chroot, by default Ubuntu. From
> there you can install Dart as explained here:
>
> https://www.dartlang.org/tools/debian.html
>
> However, if your Chromebook has an ARM processor this won't work. The Dart
> SDK is only for Intel.

If it is ARM, grab either wheezy/jessie snapshots based on
dart-1.7/dart-edge, runtime only.. (no sdk..)

https://repos.rcn-ee.net/archive/

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

Hans - Jürgen Alps

unread,
Nov 21, 2014, 4:19:39 PM11/21/14
to mi...@dartlang.org

Install chromedeveditor.

Am 21.11.2014 09:38 schrieb "Hasan A Yousef" <hasan...@gmail.com>:
How can I install Dart at Chromebook?

Andrew Malcolmson

unread,
Nov 21, 2014, 6:53:38 PM11/21/14
to mi...@dartlang.org
On Friday, November 21, 2014 4:19:39 PM UTC-5, Hans - Jürgen Alps wrote:

Install chromedeveditor.

Yes, you're right for Dart webapps and even works on ARM.  I should have mentioned it before 

For CLI apps the OP would need to use one of the methods I suggested.

kaop...@gmail.com

unread,
Nov 22, 2014, 2:08:33 AM11/22/14
to Hans - Jürgen Alps


從我的 BlackBerry 10 智慧型手機傳送。
寄件者: Hans - Jürgen Alps
已傳送: Saturday, November 22, 2014 05:19
收件者: mi...@dartlang.org!‎
回覆至: mi...@dartlang.org
主旨: Re: [dart-misc] How can I install Dart at Chromebook?

Danny Tuppeny

unread,
Nov 22, 2014, 3:19:15 AM11/22/14
to mi...@dartlang.org
You can also run CLI apps on a Chromebook in dev mode without needing Crouton or a full Linux install:

http://blog.dantup.com/2014/09/dart-vm-on-a-chromebook-without-linux/
Message has been deleted

Robert Nelson

unread,
Nov 23, 2014, 7:43:42 PM11/23/14
to mi...@dartlang.org
On Sat, Nov 22, 2014 at 12:01 PM, Andrew Malcolmson <and...@gmail.com> wrote:
>
> On Friday, November 21, 2014 4:12:58 PM UTC-5, Robert Nelson wrote:
>>
>> > However, if your Chromebook has an ARM processor this won't work. The
>> > Dart
>> > SDK is only for Intel.
>>
>> If it is ARM, grab either wheezy/jessie snapshots based on
>> dart-1.7/dart-edge, runtime only.. (no sdk..)
>>
>> https://repos.rcn-ee.net/archive/
>
>
> Robert - this is great and works on my Samsung Series 3 Chromebook. The SDK
> would be even better though. Is this your build?

Last i tried building the full sdk on arm it was failing. I need to
retry a build..

Robert Nelson

unread,
Nov 23, 2014, 9:13:41 PM11/23/14
to mi...@dartlang.org
Still segfaults's pretty quick when trying to build the sdk..

Creating link from ../../../sdk/lib/_internal to
../out/ReleaseARM/pub_packages/_internal
Copying file from
/home/voodoo/test/dart-1.8.0-edge.41922/dart/out/ReleaseARM/obj/gen/remove_html_imports/http/lib/http.dart
to ../out/ReleaseARM/pub_packages/http.dart
Creating link from ../obj/gen/remove_html_imports/http/lib to
../out/ReleaseARM/pub_packages/http
LD_LIBRARY_PATH=/home/voodoo/test/dart-1.8.0-edge.41922/dart/out/ReleaseARM/lib.host:/home/voodoo/test/dart-1.8.0-edge.41922/dart/out/ReleaseARM/lib.target:$LD_LIBRARY_PATH;
export LD_LIBRARY_PATH; cd utils/pub; mkdir -p
/home/voodoo/test/dart-1.8.0-edge.41922/dart/out/ReleaseARM/obj/gen/core_stubs;
"/home/voodoo/test/dart-1.8.0-edge.41922/dart/out/ReleaseARM/dart"
"--package-root=/home/voodoo/test/dart-1.8.0-edge.41922/dart/out/ReleaseARM/packages/"
../../pkg/stub_core_library/bin/stub_core_library.dart
"/home/voodoo/test/dart-1.8.0-edge.41922/dart/out/ReleaseARM/obj/gen/core_stubs"
Segmentation fault
utils/pub/core_stubs.target.mk:13: recipe for target
'out/ReleaseARM/obj/gen/core_stubs/dart_io.dart' failed
make: *** [out/ReleaseARM/obj/gen/core_stubs/dart_io.dart] Error 139
make: *** Waiting for unfinished jobs....

This is on a omap5/cortex-a15 2gb machine..

Rico Wind

unread,
Nov 24, 2014, 2:08:45 AM11/24/14
to General Dart Discussion, Zachary Anderson
+Zach on compilation error
Robert: If Zach does not already know what is going on here, it would probably help out a lot if you could run the actual command:
 LD_LIBRARY_PATH=/home/voodoo/test/dart-1.8.0-edge.41922/dart/out/ReleaseARM/lib.host:/home/voodoo/test/dart-1.8.0-edge.41922/dart/out/ReleaseARM/lib.target:$LD_LIBRARY_PATH;
export LD_LIBRARY_PATH; cd utils/pub; mkdir -p
/home/voodoo/test/dart-1.8.0-edge.41922/dart/out/ReleaseARM/obj/gen/core_stubs;
"/home/voodoo/test/dart-1.8.0-edge.41922/dart/out/ReleaseARM/dart"
"--package-root=/home/voodoo/test/dart-1.8.0-edge.41922/dart/out/ReleaseARM/packages/"
../../pkg/stub_core_library/bin/stub_core_library.dart
"/home/voodoo/test/dart-1.8.0-edge.41922/dart/out/ReleaseARM/obj/gen/core_stubs"

in gdb and get the backtrace where it actually fails.

Cheers,
Rico

Zachary Anderson

unread,
Nov 24, 2014, 10:49:40 AM11/24/14
to Rico Wind, General Dart Discussion
Taking a look.

Cheers,
Zach

Zachary Anderson

unread,
Nov 24, 2014, 12:49:05 PM11/24/14
to Rico Wind, General Dart Discussion
I wasn't able to reproduce the crash. I used bleeding_edge and built the create_sdk target successfully both natively on a cortex-a15 machine, and a cross-build, both machines running recent Ubuntus.

Robert, can you give a little more detail about your setup and the commands you are running, and possibly a gdb stacktrace from the crash?

Thanks,
Zach
Reply all
Reply to author
Forward
0 new messages