1. 程式人生 > >linux【centos7】 如何通過yum升級vim7 到vim8

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