You need to install a terminal library; for example ncurses.

简介:
no terminal library found
checking 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.

ncurses是一个比较老的库

解决方法:

sudo apt-get install libncurses5-dev

1.到官网下载vim-7.3.tar.bz2包

 

2.打开终端,通过命令行解压缩,输入

tar jxf vim-7.3.tar.bz2

此时会在当前目录下生成vim73文件夹

 

3.继续在终端输入

cd vim73
cd src
./configure

经过前面几步,会在/vim73/src目录下生成MakeFile文件

 

4.在/src目录下输入

sudo make
sudo make install

完成这步就完成了编译,安装

注意:在make过程中可能会碰到下面的问题:

no terminal library found
checking 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.

ncurses是一个比较老的库

解决方法:

sudo apt-get install libncurses5-dev

 

5.再输入

sudo apt-get install vim-gnome

此时在/src目录输入vim就可以进入了,还需要修改一下路径

 

6.将软件所在位置添加到环境变量中

PATH=$PATH:/usr/local/bin

这样打开终端输入vim直接可以进入


相关文章
|
存储 Prometheus Kubernetes
install victoriametrics in k8s
install victoriametrics in k8s
install victoriametrics in k8s
|
Windows
zlib、libzip、 libzippp 库编译(windows + cmake + vs2013)
"libzipp" 这库是基于 "libzip" 之上封装的,而 "libzip" 又是基于 "zlib"库封装的,所以要编译 "libzipp" 库就要先编译其他两个库。下载准备:"zlib-1.2.
3780 0
解决ERROR: Cannot uninstall ‘PyYAML‘. It is a distutils installed project and thus we cannot accuratel
解决ERROR: Cannot uninstall ‘PyYAML‘. It is a distutils installed project and thus we cannot accuratel
547 0
解决ERROR: Cannot uninstall ‘PyYAML‘. It is a distutils installed project and thus we cannot accuratel
make menuconfig‘ requires the ncurses libraries.
make menuconfig‘ requires the ncurses libraries.
140 0
|
域名解析 Ubuntu 编译器
如何在 Ubuntu 20.04 上安装 GCC(build-essential)
GNU 编译器集合是一系列用于语言开发的编译器和库的集合,包括: C, C++, Objective-C, Fortran, Ada, Go, and D等编程语言。很多开源项目,包括 Linux kernel 和 GNU 工具,都是使用 GCC 进行编译的。本文主要为大家讲解如何在 Ubuntu 20.04 上安装 GCC。
92011 3
如何在 Ubuntu 20.04 上安装 GCC(build-essential)
|
Ubuntu 关系型数据库 MySQL
How to Install and Configure Icinga2 Monitoring Tool on Ubuntu 16.04
In this tutorial, we will explore how to install Docker on Alibaba Cloud and learn some important Docker commands to help you deploy and manage your container services.
3049 0
How to Install and Configure Icinga2 Monitoring Tool on Ubuntu 16.04
|
Ubuntu Python 开发工具
|
Ruby Windows Linux