Install an array of packages