Pages

Tuesday, March 8, 2011

Easily Installing Vim 7.2 From Source

in debian lenny, the vim is 7.1, if you want to use some new feature plugin, you have to update your vim from 7.1 to 7.2. but no vim7.2 debian package for lenny, so we have to install vim 7.2 from source.


 * check out the vim7.2 source code.

svn co https://vim.svn.sourceforge.net/svnroot/vim/branches/vim7.2
 
* cd vim7.2
* prepare some dependence package.
* sudo apt-get build-dep vim
* make and install it
* ./configure --with-features=huge --enable-gui=gnome2 --enable-cscope --enable-pythoninterp
  * make
* make install or    sudo apt-get install checkinstall  sudo checkinstall -D
 

No comments:

Post a Comment