add apt-get update before installing, add yes and no-upgrade to build-essential installation