Optionally install packages.