chromebrew

Package manager for Chrome OS

Github星跟蹤圖

Chromebrew

Package manager for Chrome OS

Chat with us!

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 and continue to support cli programs.

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 essential. It is also recommended to enable signed boot:

sudo chromeos-setdevpasswd
sudo crossystem dev_boot_signed_only=1

Installation

The beta, dev, and Canary channels are not supported and should not be used with Chromebrew.
Failure to take notice of this 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:

wget -q -O - https://raw.github.com/skycocker/chromebrew/master/install.sh, bash

-- or --

curl -Ls git.io/vddgY, bash

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, 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> [-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
  • const - display constant(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 or installed packages
  • postinstall - display postinstall messages of package(s)
  • reinstall - remove and install package(s)
  • remove - remove package(s)
  • search - look for package(s)
  • 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-2020 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).

Our binary packages are hosted on Bintray.

主要指標

概覽
名稱與所有者chromebrew/chromebrew
主編程語言Ruby
編程語言Shell (語言數: 3)
平台
許可證GNU General Public License v3.0
所有者活动
創建於2013-08-05 22:05:57
推送於2025-06-17 20:50:13
最后一次提交2025-06-18 00:39:39
發布數10
最新版本名稱0.4.1 (發布於 )
第一版名稱v0.1 (發布於 )
用户参与
星數2.4k
關注者數56
派生數397
提交數12.6k
已啟用問題?
問題數1874
打開的問題數36
拉請求數9452
打開的拉請求數10
關閉的拉請求數640
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?