##下载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
时间: 2024-10-11 20:07:19