install samoa dependencies before s4