This document shows you how to install Euca2ools from DEB packages on Debian squeeze. In the following steps, the value of $VERSION must be substituted accordingly (e.g., as 1.2, 1.3.1, etc.). For example, we can set the value of 1.3.1 using bash:
export VERSION=1.3.1
Download DEBs
There are two options for downloading the DEB packages:
Remote repository option
DEB packages are available from our repository. To install them, add our repository to the list of repositories for your system to use. To do so, add somewhere in /etc/apt/sources.list file the following line:
deb http://eucalyptussoftware.com/downloads/repo/euca2ools/$VERSION/debian squeeze main
Tarball (local repository) option
Download the archive of Euca2ools DEB packages.
Next, make sure that dpkg-dev is installed, unpack the tarball, and create the local repository:
apt-get install dpkg-dev
tar zxvf euca2ools-$VERSION-squeeze.tar.gz
cd euca2ools-$VERSION-squeeze
dpkg-scanpackages . > Packages
Now add the appropriate directory for your architecture to your sources.list as root:
For 32-bit:
echo deb file://${PWD} ./dists/squeeze/main/binary-i386/ >> /etc/apt/sources.list
apt-get update
For 64-bit:
echo deb file://${PWD} ./dists/squeeze/main/binary-amd64/ >> /etc/apt/sources.list
apt-get update
Install DEBs
To install Euca2ools, now run
apt-get update
apt-get install euca2ools python-boto
Type "Y" if you see a warning about authentication
WARNING: The following packages cannot be authenticated!
...
Install these packages without verification [y/N]? y
After installation you may remove the entry from sources.list if you don't want to update Eucalyptus packages automatically.
