For this assignment I just followed the steps for Linux that Ken gave us on the courses page.
http://askubuntu.com/questions/481807/how-to-install-g-in-ubuntu-14-04/481808#481808
Setup C++ by dianagdv is licensed under a Creative Commons Attribution 4.0 International License.