Moved "sudo apt-get update" to the beginning.
Added line to install curl.
Added line to install ruby.
Added line to install octave.