linux【centos7】 如何通过yum升级vim7 到vim8

 以下四条命令搞定,谁用谁知道

rpm -Uvh http://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el7.noarch.rpm
rpm --import http://mirror.ghettoforge.org/distributions/gf/RPM-GPG-KEY-gf.el7
yum -y remove vim-minimal vim-common vim-enhanced sudo
yum -y --enablerepo=gf-plus install vim-enhanced sudo

参考:https://gist.github.com/yevrah/21cdccc1dc65efd2a4712781815159fb

你可能感兴趣的:(vim8,centos7,vim7,linux)