linux安装python

选择个版本下载https://www.python.org/downloads/
下载
1
2
3
4
5
6
7
8
9
wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tgz

tar zxvf Python-2.7.13.tgz

cd Python-2.7.13

./configure

make&make install
安装git
1
apt-get install git
Install the latest Cloud Tools version (163.0.0)
1
2
3
wget https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-163.0.0-linux-x86_64.tar.gz
tar zxvf google-cloud-sdk-163.0.0-linux-x86_64.tar.gz
./google-cloud-sdk/install.sh