Friday, June 13, 2014

Compile Vim 7.4 on CENTOS 6 or RHEL 6 box --enable-gui=yes :help csapprox+gui



The following article covers the steps required to build and install VIM 7.4 on CentOS 6/RHEL 6 system. It was necessary to install VIM 7.3+ version on my CentOS 6 system in order to use VIM spf13

remove any installed vim packages

yum remove $(rpm -qa | grep ^vim)

download VIM version 7.4 from here: ftp://ftp.vim.org/pub/vim/unix/
mkdir -p /opt/pkgs

cd /opt/pkgs

wget ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2

tar jxvf vim-*.tar.bz2

rm -f vim-*.tar.bz2

cd vim*

set-up build environment
yum install gcc make ncurses-devel

configure and build VIM sources
./configure --disable-selinux \

--enable-multibyte \

--with-features=huge \

--with-modified-by=Ndosh \

--enable-gui=yes



make

make install

re-hash the environment

hash -r