Updated install instructions for linux and mac

pull/398/head
Joe Nelson 2016-03-23 15:12:11 -07:00
parent df7b1f411a
commit 74d38eb1cc
1 changed files with 15 additions and 11 deletions

View File

@ -11,20 +11,20 @@ We're happy you want to contribute! You can help us in different ways:
#### Mac #### Mac
1. Install XCode 1. Install XCode
3. Install packages with homebrew 2. Install packages with homebrew
```bash ```bash
brew install git postgresql-9.5` brew install git openssl postgresql-9.5
brew link openssl --force` brew link openssl --force
``` ```
4. Get the code 3. Get the code
```bash ```bash
git clone https://github.com/citusdata/citus.git git clone https://github.com/citusdata/citus.git
``` ```
5. Build and test 4. Build and test
```bash ```bash
cd citus cd citus
@ -32,20 +32,24 @@ We're happy you want to contribute! You can help us in different ways:
make make
sudo make install sudo make install
cd src/test/regress cd src/test/regress
make check make check-multi
``` ```
#### Linux #### Linux
1. Install a C compiler and Git 1.8+ 1. Install a C compiler and Git 1.8+
2. Install PostgreSQL 9.5 ([instructions](http://www.postgresql.org/download/)) 2. Install packages
3. Install packages
```bash ```bash
# Ubuntu # Using APT
apt-get install postgresql-server-dev-9.5 libreadline-dev apt-get update
apt-get install -y make git wget libreadline-dev libxslt1-dev libxml2-dev libselinux1-dev libpam-ocaml-dev
# Using YUM
yum install -y openssl-devel pam-devel libxml2-devel libxslt-devel readline-devel zlib-devel postgresql95-devel postgresql95-server
``` ```
3. Install PostgreSQL 9.5 ([instructions](http://www.postgresql.org/download/linux/))
4. Get the code 4. Get the code
```bash ```bash
@ -60,5 +64,5 @@ We're happy you want to contribute! You can help us in different ways:
make make
sudo make install sudo make install
cd src/test/regress cd src/test/regress
make check make check-multi
``` ```