move repo installation to common