To install the latest release from RubyGems:

From RubyGems


apt-get install ruby-dev ruby-childprocess polipo libguestfs-tools
gem install --no-ri --no-rdoc kameleon-builder


yum install rubygem-childprocess polipo libguestfs-tools
gem install --no-ri --no-rdoc kameleon-builder


# install libguestfs from AUR by yourself ;)
pacman -S ruby polipo
# Be sure that your gem PATH is set correctly
gem install --no-ri --no-rdoc kameleon-builder

From Source

git clone && cd kameleon
gem build kameleon-builder.gemspec
gem install kameleon-builder-*.gem


You can enable Bash or Zsh completion of Kameleon CLI using files in the completion folder within the source repository or directly from the Gem:

# Go to source code folder
# for example: /var/lib/gems/2.1.0/gems/kameleon-builder-2.7.6/
# for Zsh
cp /completion/_kameleon /usr/share/zsh/functions/Completion/Unix/
# for Bash
cp ./completion/kameleon.bash /etc/bash_completion.d/