It's really simple, just follow instructions for your distro on
http://sonar-pkg.sourceforge.net/