Skip to content

Instantly share code, notes, and snippets.

@atimb
Forked from fairchild/install_euca_tools.sh
Created November 7, 2012 22:51
Show Gist options
  • Save atimb/4035111 to your computer and use it in GitHub Desktop.
Save atimb/4035111 to your computer and use it in GitHub Desktop.
Script to install euca2ools from source, tested on Mac OS X 10.7.5 Lion. Please report bugs.
# Available versions: http://downloads.eucalyptus.com/software/euca2ools/2.0/source/
export VERSION="2.0.0"
export WORKING_DIR=~/Downloads/euca2install
mkdir -p ${WORKING_DIR}
cd ${WORKING_DIR}
# install dependencies
# you can also use port instead: sudo port install swig-python
brew install swig
wget https://github.com/downloads/boto/boto/boto-2.6.0.tar.gz
tar -zxvf boto-2.6.0.tar.gz
cd boto-2.6.0
sudo python setup.py install
cd ..
wget http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-0.21.1.tar.gz
tar -zvxf M2Crypto-0.21.1.tar.gz
cd M2Crypto-0.21.1
sudo python setup.py install
# install euca2ools itself
cd ${WORKING_DIR}
wget http://downloads.eucalyptus.com/software/euca2ools/2.0/source/euca2ools-${VERSION}.tar.gz
tar -zxvf euca2ools-${VERSION}.tar.gz
cd euca2ools-${VERSION}
sudo make
# verify installation
euca-version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment