Boris Mann

Open Source. Community. Decentralized Web. Building dev tools at Fission. Cooks & eats.


Using emerge to install packages on ChromeOS

  • Last Edit:

[[ChromeOS]] is the operating system, based on Gentoo Linux, that runs on Chromebooks.
Since I’ve been using Chromebooks since before they supported Linux natively, there are a variety of notes here related to using ChromeOS “natively” by putting your Chromebook into developer mode.
Today, you should use [[ChromeOS Linux Support]] instead. This is similar to how [[WSL]] works on Windows.
is based on Gentoo, which uses the emerge package manager

Yes, you run the dev_install script. Note: this will delete everything under /usr/local (bug where people are screaming).

Also currently buggy: dev_install fails to install emerge

Boot the machine and go to a shell (login and go to crosh (ctrl+alt+t) or change to virtual terminal 2 (CTRL+ALT+F2)) Change to root and initialize the login environment variables: $ sudo su -

Execute the dev_install script. This script does everything automatically and asks you if you want to install chromeos-dev (it will take a while if you choose to):

# dev_install [--reinstall if done before]

Use emerge as usual. For example, to get qemacs install:

# emerge qemacs

Done! Now you can emerge any package in chromeos-dev or chromeos-test

Also useful: