Install trouble

if i install asterisk directly into my PC as OS,do i need to download asterisk,dahdi and libpri tar.gz files and install them again?

Asterisk is not an OS. It is not clear what you are asking.