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
1. Install XCode
3. Install packages with homebrew
2. Install packages with homebrew
```bash
brew install git postgresql-9.5`
brew link openssl --force`
brew install git openssl postgresql-9.5
brew link openssl --force
```
4. Get the code
3. Get the code
```bash
git clone https://github.com/citusdata/citus.git
```
5. Build and test
4. Build and test
```bash
cd citus
@ -32,20 +32,24 @@ We're happy you want to contribute! You can help us in different ways:
make
sudo make install
cd src/test/regress
make check
make check-multi
```
#### Linux
1. Install a C compiler and Git 1.8+
2. Install PostgreSQL 9.5 ([instructions](http://www.postgresql.org/download/))
3. Install packages
2. Install packages
```bash
# Ubuntu
apt-get install postgresql-server-dev-9.5 libreadline-dev
# Using APT
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
```bash
@ -60,5 +64,5 @@ We're happy you want to contribute! You can help us in different ways:
make
sudo make install
cd src/test/regress
make check
make check-multi
```