Chromebrew

Chromebrew

The missing package manager for Chrome OS

Chromebrew installs what you need with its dependencies

$ crew install vim

And registers the changes being made, so you can easily remove anything

$ sudo crew remove vim

See which packages are currently available

$ crew search

Look for a specific package

$ crew search vim

Update software lists

$ crew update

And update Chromebrew itself

$ sudo crew update crew

Install Chromebrew (along with Ruby and Git)

currently only i686 and x86_64 Chromebooks supported
wget -q -O - https://raw.github.com/skycocker/chromebrew/master/install.sh | bash

What it is?

Chromebrew is a package manager / source builder hybrid targeted for Chromebooks with Chrome OS.

What it does?

It installs the software you need that hasn't been provided by Google. Many important packages are already precompiled and it's enough to just type crew install package_name, but if something's not already there, you can easily build and install it from source.

How does it work?

In fact, Chromebrew is a simple Ruby script. There's also some Git involved, so we needed both of these things to run it on a bare Chrome OS. We have prebuilt them along with their dependencies to install them into your system when the installation script is being ran. So, basically, after installing Chromebrew, you will have fully functional Ruby with Rubygems, Git and a package manager dedicated just for your Chromebook. Cool, huh?

How is it different from Crouton?

Well, Chromebrew doesn't install an operating system :p

The idea is that you may be on a weak internet connection and cannot download too much data, but you don't have Crouton and need just some few small packages. Also, you may be on a good internet connection and need just some few small packages. Also, why not to use Chrome OS as a normal operating system?

Why does it currently only work on i686 and x86_64?

Because it needs Ruby, Git, GNU Make and GCC to work, and I only have an i686/x86_64 Acer C7 Chromebook, so I can't port this software to other architectures. If Chromebrew will be widely used, I'm planning to raise money on Kickstarter to buy other Chromebooks and make Chromebrew work also on them.

How can I help?

If you have a compatibile (i686 or x86_64) Chromebook, you can fork my Github repo and add some new packages to its packages directory if you managed to build them from source successfully on your device. Package recipes are simple Ruby files - here is an example: