Upgrading CentOS 6.5 from VIM7.2 to VIM7.4

Source: Internet
Author: User

Upgrade VIM7.2 to VIM7.4 in CentOS 6.5

To see if the installation:

[Email protected] ~]# rpm-qa| grep vim

Vim-minimal-7.2.411-1.8.el6.x86_64

Vim-common-7.2.411-1.8.el6.x86_64

Vim-enhanced-7.2.411-1.8.el6.x86_64

[Email protected] ~]# rpm-evim-minimal-7.2.411-1.8.el6.x86_64 vim-enhanced-7.2.411-1.8.el6.x86_ 64vim-common-7.2.411-1.8.el6.x86_64--nodeps

[Email protected] ~]# Rpm-aq|grep vim

Note:the--nodeps option is to remove the dependency offload, without reporting:Vim-minimal is needed by (installed) sudo-1.8.6p3-15.el6.x86_64 and so on.

Ii> Compiling and installing VIM 7.4

First, download

[Email protected] src]# wgetftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2

[Email protected] src]# wgetftp://ftp.vim.org/pub/vim/extra/vim-7.2-extra.tar.gz

[Email protected] src]# wgetftp://ftp.vim.org/pub/vim/extra/vim-7.2-lang.tar.gz

Second, decompression

[Email protected] src]# tar jxvfvim-7.4.tar.bz2

[Email protected] src]# tar zxvf vim-7.2-extra.tar.gz

[Email protected] src]# tar zxvfvim-7.2-lang.tar.gz

[Email protected] src]# MV Vim72 vim74

Third, install the dependent library

[email protected] src]# Yum installncurses-devel-y

Iv. Configuring the confure file

[Email protected] src]# CD VIM74/SRC

[Email protected] src]#/configure--with-features=huge--enable-rubyinterp-- Enable-pythoninterp--enable-luainterp--enable-multibyte--enable-sniff--enable-fontset-- Enable-cscope--enable-gui=auto--prefix=/usr--enable-xsmp--enable-xim--ENABLE-GPM

Five, compile

[[email protected] src]# make

[[Email protected]]# make install

Six, test whether upgrade success

[Email protected] src]# vim--version

vii. Increase of gvim support

[email protected] src]# Yum install vim-x11-y

Eight, check whether the installation is successful

[Email protected] src]# Rpm-qa |grep vim

Vim-common-7.2.411-1.8.el6.x86_64

Vim-x11-7.2.411-1.8.el6.x86_64


This article is from the "Innocence" blog, be sure to keep this source http://innocence.blog.51cto.com/4313888/1878892

Upgrading CentOS 6.5 from VIM7.2 to VIM7.4

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.