Update install script to use apt-get in case aptitude isn't installed
and to make sure that curl is installed before using it.