Skip to content

Instantly share code, notes, and snippets.

@juxtin
Last active May 2, 2022 03:45
Show Gist options
  • Star 18 You must be signed in to star a gist
  • Fork 16 You must be signed in to fork a gist
  • Save juxtin/11064609 to your computer and use it in GitHub Desktop.
Save juxtin/11064609 to your computer and use it in GitHub Desktop.
Compile Vim 7.4 on Centos and install my vimrc
#!/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
cd ~ && git clone https://github.com/holguinj/vimrc.git --recurse-submodules
mv vimrc .vim
ln -s vimrc ~/.vimrc
@pztrick
Copy link

pztrick commented Dec 14, 2014

👍

@sandman21dan
Copy link

Useful!

@pak11273
Copy link

nice install, but doesn't add python support for me.

@junxie6
Copy link

junxie6 commented Jul 25, 2016

@pak11273 you probably need to install python first before building vim:

yum install python python-devel

I've posted a step by step guide to build Vim 7.4 on CentOS 7 here:

https://gist.github.com/junhsieh/5b63a37510621e4868a05f254038d022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment