I downloaded Splunk and extracted the files but I don't know how to install it.
Seriously? Read the docs.
http://docs.splunk.com/Documentation/Splunk/latest/Installation/WhatsintheInstallationManual