How to upgrade vim to version 8 on CentOS 7

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了How to upgrade vim to version 8 on CentOS 7相关的知识,希望对你有一定的参考价值。

同学们好,现在很多vim重度使用者呢,追求把vim打造成一流的IDE,于是很多人想着把vim升级到8.0
但是编译安装呢又很麻烦,现在就分享一下使用yum把vim从7.0升级到8.0的经验

[[email protected] ~]# vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 21 2016 17:00:20)
Included patches: 1-160
How to upgrade it to version 8 which is the latest major version?

1)Add this repository

[[email protected] ~]# curl -L https://copr.fedorainfracloud.org/coprs/mcepl/vim8/repo/epel-7/mcepl-vim8-epel-7.repo -o /etc/yum.repos.d/mcepl-vim8-epel-7.repo

2)Upgrade Vim to vim 8

[[email protected] ~]# yum update vim*
After it is successful, your Vim should be version 8.0 now:

3)Check

[[email protected] ~]# vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Aug 2 2017 16:29:21)
Included patches: 1-839

以上是关于How to upgrade vim to version 8 on CentOS 7的主要内容,如果未能解决你的问题,请参考以下文章

how to upgrade ubnt unifi ac

How to upgrade SUSE Linux OS/Patch

How to Upgrade VMware Workstation Pro v15.5 to v16

How To Upgrade ASM from 10.2 to 11.1 (RAC)

FreeBSD Here is how to upgrade

How to Upgrade MariaDB 5.5 to MariaDB 10.1 on CentOS/RHEL 7 and Debian Systems