People have been running Ubuntu and other GNU/Linux distributions on Chromebooks for almost as long as Chromebooks have been available. While some folks have replaced Chrome OS altogether or created dual boot systems, the simplest method is to use Crouton, which allows you to install a Linux distribution in a chroot environment, allowing you to run Ubuntu or another OS alongside Chrome OS and switch between the two environments without rebooting.
In order to do that you need to enable Developer Mode on your Chromebook though, which removes some of the security protections that you normally get with Chrome OS.
But now there’s an easier way to run Linux apps. As we reported earlier this year, Google is developing a new Chrome OS feature called Crostini that makes it possible to run Linux apps on a Chromebook. Now it looks like you can take it for a spin… if you have a Google Pixelbook. The feature will probably roll out to additional devices in the future.
Here’s how Crostini works. You open a crosh terminal by typing ctrl+alt_t on a Chromebook and then enter a few lines of text into the terminal.
Crostini will create a Linux virtual machine (or maybe “container” is a better term) that lets you install and run desktop Linux applications. Kevin Tofel from AboutChromebooks installed the Eclipse IDE and the open source text editor, Sublime Tex allowing him to write code on a Chromebook.
And in a Google+ post, John Bowdre showed that he was able to run the GIMP image editing program and even the Firefox web browser.
He also installed the Chromium web browser, because why the heck not?
Right now Crostini is still very much a work in progress, and in order to try it you’ll need to have a Google Pixelbook laptop running Chrome OS v67 dev channel with the experimental #enable-cros-container flag enabled.
Note that dev channel isn’t the same thing as developer mode. While developer mode offers access to Chromebooks features that are normally locked down, switching to the developer channel just means that you’re accessing an early build of an upcoming Chrome release. It may have features that aren’t yet available in the stable or beta channels, but it may also be a little more buggy, so proceed with caution.
Another thing to keep in mind is that you can’t currently pin Linux apps to your shelf (taskbar) and there aren’t any special icons to differentiate Linux apps from native Chrome OS apps in the app launcher, although both of those features are in the works.
Update: Chrome Unboxed has posted a video showing Crostini in action… and pointing out some of the limitations. It’s possible (maybe even likely) that some of these will be fixed by the time Crostini is ready for the public, but right now, among other things, it:
- Keeps any file you save within the same container as the Linux app, so you can’t access it from other apps or browser windows: ie, you can’t edit a photo in GIMP and then upload it in Chrome.
- Doesn’t seem to tap into your device’s graphics processor.
There’s a pretty long introduction to Crostini in the video, but if you just want to see what it looks like when you run a Linux program like Inkscape, just skip to the 5 minute mark.