I\'m trying to install new python environment on my shared hosting. I follow the steps written in this post:
mkdir ~/src wget http://www.python.org/ftp/pytho
sudo apt install build-essential is the command
sudo apt install build-essential
But if you get the "the package can be found" kind of error, Run
sudo apt update
This worked for me.