1.Download the source of vim on the web site: http://www.vim.org/sources.php
eg. vim-7.3.tar.bz2

2.Extract the source file (eg. vim-7.3.tar.bz2) into your home directory.
eg. cd ~
tar -jxvf vim-7.3.tar.bz2 .   // using the true position of the file in your computer to replace "vim-7.3.tar.bz2"

3.Run the file "configue" in the directory vim73.
eg. cd ~/vim73
./configure

4.If you see the message "You need to install a terminal library; for example ncurses. Or specify the name of the library with --with-tlib.", intall the related library files.
eg. sudo apt-get install libncurses5-dev

5.Run the following command in root mode.
sudo make
sudo make install

posted on 2012-08-21 17:06  smallmickey  阅读(471)  评论(0编辑  收藏  举报