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

Ubuntu 12 Precise

Shaun Jackman edited this page Sep 18, 2017 · 1 revision

Install Linuxbrew on Ubuntu 12.04 LTS (Precise Pangolin)

Using Docker

docker build -t linuxbrew-precise https://raw.githubusercontent.com/Linuxbrew/docker/master/precise/Dockerfile
docker run -it --name=linuxbrew-precise linuxbrew-precise

With sudo

Follow the Linuxbrew installation instructions.

Without sudo

Building glibc 2.23 requires GCC 4.7 or later, and Ubuntu 12 provides GCC 4.6, so install GCC before building glibc.

sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
PATH=$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$PATH
HOMEBREW_NO_AUTO_UPDATE=1 brew install --only-dependencies glibc
HOMEBREW_NO_AUTO_UPDATE=1 brew install --ignore-dependencies gmp isl libmpc mpfr gcc
HOMEBREW_NO_AUTO_UPDATE=1 brew install glibc