Read only mirror: My personal fork of Chromebrew

rainestorme 05fde804d4 Merge branch 'chromebrew:master' into master 1 ano atrás
.github c5083e50b0 Linter 1.3 => 1.4 (#7796) 1 ano atrás
bin fb1be20951 more rebuilds for libtiff2 update (#8089) 1 ano atrás
images ea06c1ee59 [readme]: Revert #7795, disable some rules in linter (#7811) 1 ano atrás
lib 0c97d52309 Fix uname errors 1 ano atrás
packages 05fde804d4 Merge branch 'chromebrew:master' into master 1 ano atrás
tests de24923ee8 Add Rubocop CI (#7083) 2 anos atrás
tools 0c97d52309 Fix uname errors 1 ano atrás
.gitignore 5d0a45f52d Add libdmraid package (#6775) 2 anos atrás
.mdl_style.rb ea06c1ee59 [readme]: Revert #7795, disable some rules in linter (#7811) 1 ano atrás
.mdlrc f9b296cb60 remove inline markdownlint comment (#7610) 2 anos atrás
.rubocop.yml 006250d9e7 fix linecontinuation issue (#8160) 1 ano atrás
.travis.yml 8b3a3648a2 Add travis (#3367) 5 anos atrás
CONTRIBUTING.md 0e532bef6d Update homepage URL in packages from skycocker/chromebrew to chromebrew/chromebrew (#7146) 2 anos atrás
LICENSE 7d8f1685c5 Add license file for GPLv3 7 anos atrás
Manual.md 0e532bef6d Update homepage URL in packages from skycocker/chromebrew to chromebrew/chromebrew (#7146) 2 anos atrás
README.md ea06c1ee59 [readme]: Revert #7795, disable some rules in linter (#7811) 1 ano atrás
install.sh 93ccfb8b33 Update install.sh 1 ano atrás

README.md

Chromebrew icon

Chromebrew

The Missing Package Manager For Chrome OS

Chat With Us

Discord is not currently syncing messages with Slack

Slack Invite Discord Invite

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. To do so, select your device on the ChromiumOS Wiki and follow the instructions listed there. Please be aware of the fact that developer mode is insecure if not properly configured.

Setting a password as instructed in the VT-2 login screen is recommended. It is also recommended to enable signed boot:

sudo chromeos-setdevpasswd
sudo crossystem dev_boot_signed_only=1

Supported Systems

Architecture Supported?
x86_64 Yes
i686 Yes*
armv7l Yes
aarch64 Yes

* We can only provide limited support for i686 since Google has discontinued support. Although we can no longer support GUI apps, we will try to continue to support CLI programs.

Installation

The beta, dev, and Canary channels are not supported and should not be used with Chromebrew. Failure to take notice of this warning will cause major issues with your Chromebrew installation.

See issue #2890 and the FAQ for more details.

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:

curl -Ls git.io/vddgY | bash

Help

Please check out the wiki to find out more information about Chromebrew including helpful tips, resource links and frequently asked questions.

Also please check existing issues before submitting a new one.

Usage

crew <command> <package1> [<package2> ...]

Where available commands are:

Command Description
build build package(s) from source and store the archive and checksum in the current working directory
const display constant(s)
deps display dependencies of package(s)
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
list available, installed, compatible or incompatible packages
postinstall display postinstall messages of package(s)
prop display all package boolean properties
reinstall remove and install package(s)
remove remove package(s)
search look for package(s)
sysinfo show system information in markdown style
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 [...]

License

Copyright 2013-2023 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). This project embeds docopt.rb at lib/docopt.rb. We retain its MIT license.