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
for Ubuntu / Debian :
# sudo apt-get install build-essential
For RHEL/CentOS
#rpm -qa | grep gcc # yum install gcc glibc glibc-common gd gd-devel -y
or
# yum groupinstall "Development tools" -y
More details refer the link