How to install ec2 command line tools in Linux:
If you’re running an amazon instance, you may have came across situations like increasing disk space of instance. For any amazon related applications, you need to have ec2-api-tools installed on your server.
1) Enable multiverse by adding the following lines to end of the file /etc/apt/sources.list
deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
2) Now run the following command to update the packages:
apt-get -y update
3) Now, install ec2 commandline tools.
apt-get install ec2-api-toolsÂ

