---python
vim源碼安裝:git
1. git clone https://github.com/vim/vim.gitgithub
2. cd vim && ./configure --prefix=xxx -enable-multibyte --enable-pythoninterp=yes --enable-python3interp=yesvim
3. make && make installui
4. 遇到一個庫的錯誤,解決方法: sudo apt-get install libncurses5-dev libncursesw5-deves5
5. 開啓python支持 https://www.tuicool.com/articles/jYvMFvip
---ssl
python3.6 源碼安裝get
1. wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz 源碼
2. 源碼安裝SSL wget https://github.com/openssl/openssl/archive/OpenSSL_1_1_1.tar.gz && ./config --prefix=/data00/kangyang/openssl && make && make install. 而且配置PATH和LD_LIBIARY_PATH
3. ./configure --enable-optimizations --with-ensurepip=install --prefix=/data00/kangyang/python3.6
4. make && make install
5. pip3 install virtualenv && virtualenv /data00/kangyang/virtualenv3.6