You can use Docker to keep your main system clean and avoid to install a lot of packages.
Follow the instructions given at the follow repository: https://github.com/Mathux/docker-kdesrc-build
Hints for openSUSE 13.2 (outdated) to get started:
sudo zypper install docker
2) If the error message
FATA Post http:///var/run/docker.sock/v1.16/images/create?fromImage=busybox%3Alatest: dial unix /var/run/docker.sock: no such file or directory
appears whenever trying to execute any docker command then you have to start:
sudo systemctl start docker
3) Add your user to the docker group
4) Proceed as described in the github project.
5) Beware of low disk space on your root partition (see http://blog.eye48.com/post/98551740424/when-docker-io-eats-up-your-disc-space)