CentOS 7 installed VIM problems and workarounds

Source: Internet
Author: User

To use the VIM command, the system comes with VI, but no vim

to the corresponding version of Vim on the official website, this is the 7.3 version I chose.

ftp://ftp.vim.org/pub/vim/unix/


After decompression, will generate a Vim73 folder, different versions may be different numbers

./configure error, prompt as follows:

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

Workaround, install Ncurses-dev and refer to the following posts:

Http://askubuntu.com/questions/158344/no-terminal-library-found-when-compiling-vim


In https://rpmfind.net/linux/rpm2html/search.php?query=ncurses-dev&submit=search+...&system=centos& arch= Download Ncurses-dev

Then RPM-IVH installation

Okay, after that, Vim starts./configture Make made install trio

Over

This article is from the "101010...010101" blog, make sure to keep this source http://legendland.blog.51cto.com/2043145/1910796

CentOS 7 installed VIM problems and workarounds

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.