Improved complete example.
Do apt-cache clean after each installation to avoid having too much stuff around.
Avoid crashing badly if install options is not provided.
Merge pull request #1 from ktf/master

Misc improvements