Skip to content
This repository has been archived by the owner on Mar 12, 2019. It is now read-only.

Alpine Linux

Shaun Jackman edited this page Sep 22, 2016 · 8 revisions

Install Linuxbrew on Alpine Linux

docker run -it alpine /bin/sh

# Install dependencies
apk update
apk add bash curl file git libc6-compat ncurses ruby ruby-irb sudo
ln -s /lib /lib64

# Create the Linuxbrew user
adduser -D -s /bin/bash linuxbrew
echo 'linuxbrew ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
su -l linuxbrew

# Install Linuxbrew/brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)"
PATH=$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$PATH

# Update Linuxbrew
brew update
brew doctor
Clone this wiki locally