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直接可以进入


目录
打赏
0
0
0
0
66
分享
相关文章
|
8月前
|
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
144 1
make menuconfig‘ requires the ncurses libraries.
make menuconfig‘ requires the ncurses libraries.
165 0
如何在 Ubuntu 20.04 上安装 GCC(build-essential)
GNU 编译器集合是一系列用于语言开发的编译器和库的集合,包括: C, C++, Objective-C, Fortran, Ada, Go, and D等编程语言。很多开源项目,包括 Linux kernel 和 GNU 工具,都是使用 GCC 进行编译的。本文主要为大家讲解如何在 Ubuntu 20.04 上安装 GCC。
93997 3
如何在 Ubuntu 20.04 上安装 GCC(build-essential)
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.
3084 0
How to Install and Configure Icinga2 Monitoring Tool on Ubuntu 16.04
./configure、make、make install 命令详解
这些都是典型的使用GNU的AUTOCONF和AUTOMAKE产生的程序的安装步骤 一、基本信息 1、./configure 是用来检测你的安装平台的目标特征的。
4234 0

热门文章

最新文章