##下载VIM7.4源码
-bash-3.2# wget ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2
##解开压缩包
-bash-3.2# bunzip2 vim-7.4.tar.bz2 -bash-3.2# tar xvf vim-7.4.tar
##设置环境参数
-bash-3.2# echo "export LD_LIBRARY_PATH=/usr/local/lib/" >> /.profile -bash-3.2# source /.profile
##进入vim/src目录安装
-bash-3.2# cd vim74/src -bash-3.2# make && make install
原文地址:http://snail2013.blog.51cto.com/6696525/1683310