forked from madlib/archived_madlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation Guide
agorajek edited this page Jan 16, 2011
·
20 revisions
Greenplum:
These instructions assume you have Greenplum database in $GPHOME, and a gpadmin user account with sudo privileges.
- Make sure you have Python
setuptoolsinstalled. Log into your gpadmin account, sourcegreenplum_path.sh, and do the following:
cd /tmp
wget http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg#md5=bfa92100bd772d5a213eedd356d64086
sh setuptools-0.6c11-py2.6.eggNote: If you are on a Mac you are probably missing WGET. In that case just copy the http... link to your browser and download setuptools. Then CD to the download directory and repeat sh setuptools-0.6c11-py2.6.egg.
- Install python libraries used by the madlib installer.
export CFLAGS="-L$GPHOME/ext/python/lib/ -L$GPHOME/lib/"
$GPHOME/ext/python/bin/easy_install argparse hashlib pyyaml sqlparse - Download madlib package from
https://github.com/madlib/madlib-contrib/archives/masteror use git to clone the current repositorygit@github.com:madlib/madlib-contrib.git.