转自:https://blog.csdn.net/sdoyuxuan/article/details/78825912
1 先得安装nurses库
yum list | grep "ncurses*" 查看你对对应版本的 ncurses库 我的64位是 ncurses-devel.x86_64,32位那就是i686了 yum instal -y ncurses-devel.x86_64
2 wget ftp://ftp.vim.org/pub/vim/unix/vim-8.0.tar.bz2 ,下载安装包
3 解压缩:tar jxf vim-8.0.tar.bz2
切换目录:cd /vim80/src
配置:./configure
4 make && make install
5 cd src && cp vim /usr/bin/