Add installation scripts and commands

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Fix link error with pthread

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>