// must , otherwise the python install failed
sudo apt-get install zlib1g-dev
ubuntu16.04如何正确安装python3.6.5? - 知乎
install cmake
sudo apt install libssl-dev
Vim安装YouCompleteMe汇总_jilong407的博客-CSDN博客
install gcc
Vim安装YouCompleteMe汇总_jilong407的博客-CSDN博客
Install vim
121 sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.5 1
122 sudo update-alternatives --install /usr/bin/python3 python3 /usr/local/python3.6.5/bin/python3.6 2
123 sudo update-alternatives --install /usr/bin/python python /usr/local/python3.6.5/bin/python3.6 2
124 sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.5 1
Vim安装YouCompleteMe汇总_jilong407的博客-CSDN博客
Install the plus of vim
sudo apt-get install libncurses5-dev
Then we found the terminal can't open. because we using the python3.6 replace to python3.
212 update-alternatives --config python3
please choose the default python3.5
213 update-alternatives --display python3