If you are on a Raspberry Pi or any Debian-based operating system, including Ubuntu and Diet-Pi, you can use the Pi install script available here. If you are on an RPM-based operating system, including RedHat, Fedora and CentOS, you can use the RPM install script available here.