Setting Up a Local Development Environment in Chrome OS
jeremyckahn.github.com
jeremyckahn.github.com
This is just an easier method if all you want is access to a powerful Debian userland: it turns out that Debian already solved the problem of creating a self-consistent cross-compiled directory tree ages ago so it makes sense to reuse that solution here.
AFAIK, most sales are still to schools and a few enterprise installations: http://techcrunch.com/2013/02/03/maybe-those-chromebooks-wer...
"Still, with over 2,000 schools now using Chromebooks, the real market for these devices sure seems to be in the education space. Over the last year or so, I’ve heard from a number of educators that they prefer to use Chromebooks with their students than an iPad (their students probably think the exact opposite…). Not only are they obviously cheaper and come with service contracts and management consoles for administrators, but having a full keyboard and larger screen clearly make them attractive devices in the view of many teachers and school administrators. The fact that the devices auto-update regularly and are pretty much safe from viruses also makes for an attractive selling point when compared to traditional laptops. For Google, of course, this also means many of these kids will grow up in the Google ecosystem of Gmail and Google Drive, which surely isn’t going to hurt it once these students go on to college or get jobs."
I got my Chromebook on Monday, so I haven't updated it after initial boot. I'm not sure about the updating issues, but you can always go into non-Developer Mode and update from there. If that causes problems for the chroot, it's really easy to back up the chroot (it's just a directory) and reinstall it with Crouton: https://github.com/dnschneid/crouton#you-want-to-make-a-boot...
So in other words, I can't answer any of those questions yet, sorry!
[0] http://archlinuxarm.org/platforms/armv7/samsung-chromebook
Thanks!
If you're unsure whether or not a Chromebook is the right system for you, check out the specs[0]. Note that the Chromebook isn't extremely powerful, but that is not the product's goal.
Back to Ubuntu/Chrome: Rather than install Unity (which I actually don't mind on some systems), I opted for the actual crouton dev team's recommendation of XFCE[1].
XFCE is made for an underwhelming environment, and its performance is better than what Unity would probably offer.
You can in fact switch between Chrome-os/Ubuntu with 3 or 4 key presses, depending on your chromebook model. Your install likely won't come with vim, git, etc. installed as ujeezy noted, but if you're familiar with gnu/linux, you already know you what you want from your environment.
I, like many of you, have a couple of computers to lug around: Work laptop (windows), Macbook (expensive shiny development tool). Being that I really have come to enjoy the macbook's battery life, even when using lots of high-resource tools/windows, I'm not sure where this chromebook will fit in. Breaking my macbook scares me, but so does being without it.
If you have a chromebook, definitely try this out. I was expecting to have to deal with lots of issues, but the install was extremely smooth (other than the downloads coming in at 20-30kb/s).
Things to note:
* Make sure you read Crouton[1]'s readme - there are a few potential 'gotcha's in there.
* Disable XFCE or Unity's screensaver.
* As ujeezy noted, you'll need to install vim/emacs, git, gcc, etc.
* While nice, and amazing for what it is, this will probably not replace your default dev environment, unless you exclusively use programs that aren't resource intensive, and/or only exist in terminal.
[0] http://www.google.com/intl/en/chrome/devices/samsung-chromeb...
I am planning to buy the x86 version, so it seems like it should be possible to install any distro on it. Is Crouton/ Chrubuntu for ARM version?
https://wiki.archlinux.org/index.php/Archbootstrap
If ChromeOS doesn't provide you enough tools to run archbootstrap, you can run archbootstrap on a separate machine with the chrome disk attached and then put the disk in the ChromeOS laptop. A bit of hassle but perfectly doable.
Their dev trunk is pretty stable, it'd be good if he'd update the post.
I'm a vim guy so I can't really speak on emacs, but I imagine things work in a similar fashion.
we think this is a situation of "skating to where the puck is going to be, rather than where it is", but we do have plans to build a bridge between an offline/online dev environment. If you'd like an invite, please email me at arun <at> action <dot> io
You'd have to sync the state of the VM when they come online again, but that could be done efficiently from within the VM in a manner similar to dropbox syncing.
if you'd like an invite, please email me at arun <at> action <dot> io
Of course, what the article is describing means that you are back to admin hell again, which I don't advocate at all. Googlers use a Chrome Remote Desktop to get work done on a Chromebook, which helps, but of course, requires someone else to punt off the sysadmin, otherwise it's your problem again, just one step removed.
I wouldn't purchase a Chromebook as a primary development environment. I would purchase it as a home machine if I already have a work machine.
I've not been able to duplicate the battery life in a netbook running Linux 100% of the time. My side hustle is tech writing so most of my dev work is on my "big Bertha" Linux box and when I'm out and about and need to do light dev and mostly write or consume, I'm on the Chromebook.
And you lose this benefit if you go outside CrOS as described in the article (I'm fine using it as a SSH terminal myself), but they're more or less disposable. I could chuck mine out the window, watch it get trampled in a conveniently timed parade, run out to Best Buy and pick up another one, and I'm right back where I was minus only $250 and an hour (incl. drive time and re-syncing).
[0] http://www.amazon.com/Best-Sellers-Computer-Accessories-Netb...