centos7 安装vim8
程序员文章站
2024-03-11 10:45:37
...
更新yum
$ yum upgrade
$ yum update
下载git
sudo yum install git
升级vim以及gcc
升级gcc
sudo yum install centos-release-scl -y
sudo yum install devtoolset-3-toolchain -y
sudo yum install gcc-c++
sudo scl enable devtoolset-3 bash
升级vim
yum install ncurses-devel
wget https://github.com/vim/vim/archive/master.zip
unzip master.zip
cd vim-master
cd src/
./configure --with-features=huge -enable-pythoninterp --with-
python-config-dir=/usr/lib/python2.7/config
sudo make
sudo make install
export PATH=/usr/local/bin:$PATH
上一篇: centos7 设置默认编辑vim
下一篇: CentOS7编译安装vim8