Change to the regex for ubuntu and added a apt-get update on the depency install since people forget to update their machines