下载离线安装包
解压
bunzip2 vim-8.2.tar.bz2
再解压
tar xvf vim-8.2.tar
进入解压目录
cd vim82
配置
./configure --disable-selinux --enable-cscope
如果此处报错
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
rpm -ivh xxxxxxxx
安装完成后
重新执行该步骤
编译安装
make && make install
本文提供了一份详细的Vim 8.2离线安装教程,包括下载离线安装包、解压、配置、编译及安装等步骤。解决在无网络环境下安装Vim遇到的问题,如终端库缺失等。
2047





