Centos7离线安装Vim

下载离线安装包

vim-8.2.tar.bz2

解压

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

你可能感兴趣的:(Centos7离线安装Vim)