Run Linux Apps in (PixelBook) Chromebook with Crostini VM

Ever since the first Chromebooks were released, it has been possible to run Ubuntu or other Linux distributions using Crouton (Chromium OS Universal Chroot Environment) on Chrome OS devices, but that requires to enable developer mode, which disables some of security features that come with Chrome OS.

Google has now make it easier and safer with Crostini VM that does not require developer mode. The only downsides for now are that it only works on Google Pixelbook, and you need to install/run Chrome OS v67 dev channel with the #enable-cros-container flag enabled.

Eclipse IDE running in Chrome OS – Click to Enlarge

Using Crostini is fairly straightforward. First start crosh terminal with Ctrl++Atl+t, and running the following command to create a VM, and launch a container:


This will start a Debian Stretch environment with networking and GUI support, so you can install & run programs like you would in Debian (e.g. apt install htop).

 Kevin Tofel at AboutChromebooks managed to install the Eclipse IDE (See screenshot above) and Sublime Text using the VM in order to write code with his Chromebook, while John Bowdre showed he installed Visual Studio Code, Gimp, Firefox, and apparently Chromium browser because…  he could.

Click to Enlarge

Crostini VM does not cover all use cases for now, as for example USB is not currently supported, and the VM is apparently taking a lot of memory,  so Chromebook with 4GB RAM may not be usable with Crostini at this stage. Nevertheless it’s still an experimental feature, and things should improve over time.

Chromebooks may soon become much more interesting laptops, as beside running an operating systems to basically browse the web, they can now run Android apps, and upcoming support for Linux programs could be a game changer.

Via Liliputing

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK Pi 4C Plus
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
7 Comments
oldest
newest
itchy n scratchy
itchy n scratchy
5 years ago

Maybe im not in the targeted user group anyways but…

I would prefer things go the other way round like linux with chromeos/android runtime. But well let’s see how things develop 😉

blu
blu
5 years ago

On a related note, just wanted to say that Chromebrew turns chromebooks into very functonal Linux consoles.

geokon
geokon
5 years ago

Thanks for that @blu
Hadn’t hear of it! 🙂

blu
blu
5 years ago

Np. I learned about it only recently myself, and I was surprised how useful it was and how easy it could turn a goodledocs machine into a full-fledged linux terminal.

Miguel Mayol i Tur
Miguel Mayol i Tur
5 years ago

If actual cheap Chromebooks can run Crouton well, Why not let the users install it and not in developer mode instead of making something that is worse in terms of performance, than the Gnu/Linux in chroot?.

Perhaps, to be more secure, to let install Crouton “lite”i n non developer mode only from Google repositories, with a debian rolling release distribution near to their own one, will be a much better option.

Khadas VIM4 SBC