Jostree Reprint Please specify the source HTTP://WWW.CNBLOGS.COM/JOSTREE/P/4137402.HTML1. To the official website Http://www.vim.org/download.php#unix VIM-7.4.TAR.BZ2 Pack 2. Open terminal, extract from command line, enter tar jxf vim-7.4.tar.bz2 The Vim73 folder is generated under the current directory 3. Continue to enter CD VIM74CD src./in terminal Configure after the previous steps, the makefile file is generated in the/VIM74/SRC directory 4. In the/SRC directory, enter sudo makesudo make install complete this step to complete the compilation, installation
Note: You may encounter the following issues during the make process:
No terminal library foundchecking for tgetent () ... Configure:error:NOT found! You need to install a terminal library; For example ncurses. Or Specify the name of the library With–with-tlib. Required: ncurses
Workaround: sudo apt-get install Libncurses5-dev If you do not have the software to add Ali's Source:
Deb Http://mirrors.aliyun.com/ubuntu/precise Main
DEB-SRC Http://mirrors.aliyun.com/ubuntu/precise Main
5. Re-enter the sudo apt-get install vim-gnome to use "+p for paste" +y for replication at this time in the/SRC directory input vim can enter, but also need to modify the path 6. Add the location of the software to the environment variable path= $PATH :/usr/local/bin This opens the terminal input Vim can be entered directly
You can also upgrade vim by updating the form of a third-party source:
sudo add-apt-repository ppa:fcwu-tw/sudo apt-sudoinstall vim
Ubuntu Vim 7.4 Compilation installation