<p>Chromebrew is a package manager / source builder hybrid targeted for Chromebooks with Chrome OS.</p>
<h3>What it does?</h3>
<h3>What does it do?</h3>
<p>
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 <code>crew install package_name</code>, but if something's not already there, you can easily build and install it from source.
</p>
<h3>How does it work?</h3>
<p>
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?
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 into your system during installation. 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?
</p>
<h3>How is it different from Crouton?</h3>
<p>
Well, Chromebrew doesn't install an operating system :p
Well, Chromebrew doesn't install an operating system. :p
</p>
<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?
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 a few small packages. Also, you may be on a good internet connection and need just a few small packages. Also, why not use Chrome OS as the operating system?
</p>
<h3id="howcanihelp">How can I help?</h3>
<p>
If you have a compatibile (arm, i686 or x86_64) Chromebook, you can fork my Github repo and add some new packages to its<code>packages</code> directory if you managed to build them from source successfully on your device. Package recipes are simple Ruby files - here is an example:
If you have a compatible Chromebook, you can fork my Github repo and add new packages to the<code>packages</code> directory if you managed to build them from source successfully on your device. Package recipes are simple Ruby files - here is an example:
</p>
<p>
<pre>
require 'package'
class Vim <Package
class Vim < Package
description 'Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient.'
homepage 'http://www.vim.org/'
version '8.0-1'
...
...
@@ -144,12 +142,12 @@ class Vim < Package
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "strip", "#{CREW_DEST_DIR}/usr/local/bin/vim"