install dependency as a list