Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added Ubuntu 14.04 build docs #1068

Merged
merged 1 commit into from
Jul 15, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions docs/BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Ubuntu: Xenial

This installation method uses as many packages from Ubuntu as possible. If you'd like to build additional components from source, see the next section.

```
apt-get update && apt-get install -y --no-install-recommends \
Expand Down Expand Up @@ -38,6 +39,59 @@ cd habitat && make
docker run -it ubuntu:xenial /bin/bash


## Ubuntu: 14.04+

This can be used to build and install on older versions of Ubuntu where libsodium and czmq aren't available.

```
apt-get update && apt-get install -y --no-install-recommends \
autotools-dev \
autoconf \
automake \
build-essential \
ca-certificates \
cmake \
curl \
file \
gdb \
git \
iproute2 \
libarchive-dev \
libprotobuf-dev \
libssl-dev \
libtool \
libunwind8-dev \
man \
musl-tools \
npm \
pkg-config \
protobuf-compiler \
sudo \
uuid-dev \
libpcre3-dev \
wget

git clone https://github.com/jedisct1/libsodium.git
(cd libsodium && ./autogen.sh && ./configure && make && make install)

git clone git://github.com/zeromq/libzmq.git
(cd libzmq && ./autogen.sh && ./configure --with-libsodium && make install && ldconfig)

git clone https://github.com/zeromq/czmq.git
(cd czmq && ./autogen.sh && ./configure && make install && ldconfig)

curl -sSf https://static.rust-lang.org/rustup.sh | sh
(adduser --system hab || true) && (addgroup --system hab || true)
ln -snf /usr/bin/nodejs /usr/bin/node && npm install -g docco && echo "docco `docco -V`"

git clone https://github.com/habitat-sh/habitat.git
cd habitat && make
```

- these docs were tested with:

docker run -it ubuntu:14.04 /bin/bash

## Centos 7

```
Expand Down