How to install PIWIK on Localhost?

i Want to install piwik on my localhost … i already install Analytic plugin on my localhost… please can any one help me in this matter???

Simply extract it at your localhost root directory. Then follow the instructions.

http://piwik.org/docs/installation/

Even after copying piwik in localhost root directory, I’m unable to open the piwik getting 404 error when clicking localhost:8080/piwik

This could be for a whole bunch of reasons:
-Make sure your local server is running
-Make sure 8080 is actually the port of your local server
-The piwik global.ini.php or config.ini.php may need to be changed to trust localhost:8080
-Maybe you didn’t put piwik in the right folder. On Apache its htdocs, on IIS its inetpub