Skip to content

Instantly share code, notes, and snippets.

@shiwano
Forked from fundon/vim_centos.sh
Last active December 16, 2015 17:19
Show Gist options
  • Save shiwano/5469632 to your computer and use it in GitHub Desktop.
Save shiwano/5469632 to your computer and use it in GitHub Desktop.
#!/bin/bash
# on centos minimal
yum install gcc
yum install make
yum install ncurses-devel
yum install lua lua-devel
yum install ruby ruby-devel
yum install python python-devel
# vim7.3
wget http://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2
tar jxfv vim-7.3.tar.bz2
mkdir vim73/patches
cd vim73/patches
seq -f http://ftp.vim.org/pub/vim/patches/7.3/7.3.%03g 3 | xargs wget
cd ..
cat patches/7.3.* | patch -p0
./configure --disable-selinux \
--enable-luainterp \
--enable-pythoninterp \
--enable-tclinterp \
--enable-rubyinterp \
--enable-multibyte \
--disable-gui \
--with-features=huge \
[email protected]
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment