Files
chromebrew/README.md
2021-07-29 08:23:27 -07:00

6.8 KiB

Chromebrew logo

Chromebrew

Package manager for Chrome OS

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

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 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

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:

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)
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> ...]

Recently Upgraded Packages

| Name | Description | Date Upgraded | Version |:---|:---|:---| | codium | VSCodium is Open Source Software Binaries of VSCode with a community-driven default configuration. | 2021-07-28 | 1.58.2 | | fontconfig | Fontconfig is a library for configuring and customizing font access. | 2021-07-27 | 2.13.94 | | boost | Boost provides free peer-reviewed portable C++ source libraries. | 2021-07-26 | 1.76.0 | | squashfs | Squashfs is a compressed read-only filesystem for Linux. | 2021-06-24 | 4.5 | | vala | Vala is a programming language that aims to bring modern programming language features to GNOME developers. | 2021-07-22 | 0.54.2 | | crew_profile_base | Crew-profile-base sets up Chromebrew's environment capabilities. | 2021-07-22 | 0.0.2 | | filezilla | A simple, fast and user-friendly alternative to find | 2021-06-08 | 3.55.0 | | ncurses | The ncurses (new curses) library is a free software emulation of curses in System V Release 4.0 (SVr4), and more. | 2021-07-19 | 6.2-20210523 | | brave | Next generation Brave browser for macOS, Windows, Linux, Android. | 2021-07-19 | 1.29.8 | | putty | Free Telnet, SSH, and Rlogin clients plus a terminal emulator. | 2021-07-18 | 0.76 |

Latest Packages

Name Description Date Added
b2 B2 makes it easy to build C++ projects, everywhere. 2021-07-01
shells Launch your Shells™ virtual desktop 2021-06-25
codelobster Free cross-platform IDE for PHP/HTML/CSS/JavaScript development 2021-06-23
ltrace ltrace intercepts and records dynamic library calls which are called by an executed process and the signals received by that process. 2021-06-22
exodus Exodus is a desktop crypto wallet 2021-06-21
snowflake Snowflake (aka Muon) is a graphical SSH client. 2021-06-19
fd A simple, fast and user-friendly alternative to find 2021-06-08
rdfind Redundant data find - a program that finds duplicate files. 2021-06-07
libcurl Command line tool and library for transferring data with URLs. 2021-06-07
pdfchain PDF Chain is a graphical user interface for the PDF Toolkit (PDFtk). 2021-06-01

Chat with us!

Discord is not currently syncing messages with Slack

Slack Invite Discord Invite

License

Copyright 2013-2021 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).