2
# Needs to be run as a user who can sudo. d'oh!
3
# It will ask your password a lot.
5
# Install add-apt-repository (packaging differs across releases).
6
lsb_release -r | grep -q 12.04 \
7
&& sudo apt-get -y install python-software-properties \
8
|| sudo apt-get -y install software-properties-common
10
# Add the juju stable ppa, install charm-tools (juju-test plugin) and other deps
11
sudo add-apt-repository -y ppa:juju/stable
13
sudo apt-get -y install juju-deployer juju-core