Install dependencies as packages