Ubuntu Vim 7.4 Compilation installation

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.