Package - skycocker/chromebrew

chromebrew

Package manager for Chrome OS

Supported Systems

| Architecture | Supported? | |:---:|:---:| | x86_64 | Yes | | i686 | Yes | | armv7l | Yes | | aarch64 | Yes |

Overview

Chromebooks with Chrome OS run a Linux kernel. The only missing pieces to use them as full-featured Linux distro were gcc and make with their dependencies. Well, these pieces aren't missing anymore. Say hello to chromebrew!

Prerequisites

You will need a Chromebook with developer mode enabled.

On the ChromiumOS Wiki select your device and follow the instructions listed there.

Please be aware of the fact that developer mode is insecure if not properly configured.

Installation

Open the terminal with Ctrl+Alt+T and type shell.

If this command returns ERROR: unknown command: shell please have a second look at the prerequisites and make sure your Chromebook is in developer mode.

Then download and run the installation script below:

wget -q https://raw.github.com/skycocker/chromebrew/master/install.sh && yes | bash install.sh

-- or --

curl -Ls git.io/vddgY -o install.sh && yes | bash install.sh

On a rooted Google OnHub, the command needs to be run with the "chronos" user. In order to make su work, a password is needed for the chronos user.

# passwd chronos
Changing password for chronos.
Enter new UNIX password:
Retype new UNIX password:
# su - chronos
Password:
$ curl -Ls git.io/vddgY -o install.sh && yes | bash install.sh

Usage

crew <command> [-k|--keep] <package1> [<package2> ...]

Where available commands are:

  • build [build package(s) from source and store the archive and checksum in the current working directory]
  • download [download package(s) to CREW_BREW_DIR (/usr/local/tmp/crew by default), but don't install]
  • files [display installed files of package(s).]
  • help [get information about command usage]
  • install [install package(s) along with dependencies after prompting for confirmation]
  • remove [remove package(s)]
  • search [look for a package]
  • update [update crew itself]
  • upgrade [update all or specific package(s)]
  • whatprovides [regex search for package(s) that contains file(s)]

Available packages are listed in the packages directory.

Chromebrew will wipe its BREW_DIR (/usr/local/tmp/crew by default) after installation unless you pass -k or --keep when running crew install.

crew install --keep <package1> [<package2> ...]

License

Copyright 2013-2017 Michal Siwek and all the awesome contributors.

This project including all of its source files is released under the terms of GNU General Public License (version 3 or later).

Github

link
Stars: 818

Advertisement

Releases

0.4.1 - Jan 13, 2017

v0.4 - Jan 12, 2017

v0.3.1 - Jun 8, 2015

You can use chromebrew again as a working software source now.

v0.3 - Nov 21, 2014

Bringing chromebrew back to life with lots of help from @jbaum98 Thanks! :)

v0.2.1.2 - Oct 21, 2013