How to upgrade vim to version 8 on CentOS 7
2018-08-13 16:54
351 查看
同学们好,现在很多vim重度使用者呢,追求把vim打造成一流的IDE,于是很多人想着把vim升级到8.0
但是编译安装呢又很麻烦,现在就分享一下使用yum把vim从7.0升级到8.0的经验
[root@p-devops ~]#
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
[root@p-devops ~]#
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
[root@p-devops ~]#
yum update vim*
After it is successful, your Vim should be version 8.0 now:
3)Check
[root@p-devops ~]#
vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Aug 2 2017 16:29:21)
Included patches: 1-839
相关文章推荐
- 发现问题 解决问题:How to upgrade gcc on CentOS
- How to upgrade Git to latest version on Mac OS X?
- How to upgrade gcc on CentOS6.5
- How to Upgrade Linux Kernel to Stable 3.18.4 on CentOS 7.x
- How to install Redis 3.2 on CentOS 6 and 7
- How to Install MySQL 5.6 on CentOS 6.3/RedHat EL6/Fedora
- How to install Firefox 17 on Linux Mint, Ubuntu, Debian, CentOS, Fedora ... or any other Linux dist
- (转)How to enable EPEL repo on CentOS 5 & 6
- How to Configure Network Static IP Address and Manage Services on RHEL/CentOS 7.0
- How to Install MySQL on CentOS 7
- How To Setup Apache Hadoop On CentOS
- How to Enable EPEL Repository on CentOS for Yum Package Management
- how-to-install-graphite-on-centos6.6-x86_64
- 如何在centos6.4上安装git How To Install Git on a CentOS 6.4 VPS
- How to install Desktop Environments on CentOS 7?
- How To Install nginx on CentOS 6 with yum
- How to Install Linux, Apache, MySQL, PHP (LAMP) stack on CentOS 6 【Reliable】
- how To Install nginx on CentOS 6 with yum
- upgrade-php-5-1-to-php-5-3-using-yum-on-centos