wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz
./configure --prefix=/usr/local/python352 --enable-shared 支持shared
cp /usr/local/python361/lib/libpython3.6m.so.1.0 /usr/lib64/ 支持动态库
ldconfig
./configure --enable-python3interp --enable-multibyte --enable-fontset --with-features=huge --prefix=/usr/local/vim74
git clone https://github.com/vim/vim.git
cd vim/srcmake unistall
make clean
make distclean
./configure --enable-python3interp --enable-multibyte --enable-fontset --with-features=huge --prefix=/usr/local/vim74
YOUCOMPETEME 安装
CXX=/opt/rh/devtoolset-4/root/usr/bin/gcc ./install.py