Skip to content

Instantly share code, notes, and snippets.

@slog2
Last active August 7, 2018 22:29
Show Gist options
  • Save slog2/af5120ac65959fb0b999033c76fe91fe to your computer and use it in GitHub Desktop.
Save slog2/af5120ac65959fb0b999033c76fe91fe to your computer and use it in GitHub Desktop.
upgrade to vim 7.4 on CentOS 5.x
#!/bin/bash
yum groupinstall 'Development tools' -y
yum install ncurses ncurses-devel wget git -y
cd /usr/local/src
wget ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2
tar -xjf vim-7.4.tar.bz2
cd vim74
./configure --prefix=/usr --with-features=huge --enable-rubyinterp --enable-pythoninterp
make && make install
vim --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment