getPackages function

Install Packages for Each Chapter