Reprinted from Http://blog.chinaunix.net/uid-22891521-id-2109310.html
Since has been in a very old Linux version of the development, the inside of the vim is also a very old version, today in the case of the completion of the work, the upgrade of the next vim. Before upgrading, however, make sure that Ctags cscope perl is installed in your OS so that you can use it later when you do the IDE.
Here are the detailed steps:
1. go to ftp.vim.org/pub/vim/ unix/Download the vim-73.tar.bz2 file. or download the http://www.vim.org/download.php here
2. TAR-JXVF vim-73.tar.bz2
3. CD VIM73/SRC
Then it would be better to configure it comprehensively, as follows:
./configure--with-x--enable-cscope--enable-xim--enable-fontset--enable-multibyte--enable-pythoninterp-- With-features=huge--enable-gui=gtk2 "--with-compiledby=liwei<[email protected]>" |
These parameters can be viewed in one of my other articles.
4. sudo make # translation, take a few minutes, depending on the CPU, generally will not error, such as error, fast email me.
5.sudo make Install
#安装, the general situation here can be, but sometimes depending on the system installation may not be complete, so it is recommended that the following sections will definitely be installed completely.
Can also be like this: (sometimes the above operation is not successful in the case let us do it ourselves.) )
5. sudo CP-RF Vim/usr/bin/vim
6. CD..
7. sudo CP-RF Runtime/usr/local/share/vim
Last view version:
8. Vim--version # you can see the compilation options and version numbers of your vim. is not up to date. Start enjoying it.
Vim Upgrade Install Reload