I was trying to use
sudo apt-get install build-essentials
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package build-essentials
Drop the 's' off of the package name.
sudo apt-get install build-essential
You may also need to run
sudo apt-get update to make sure that your package index is up to date.