Skip to content

Instantly share code, notes, and snippets.

@fundon
Created August 17, 2011 03:52
Show Gist options
  • Star 28 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
  • Save fundon/1150782 to your computer and use it in GitHub Desktop.
Save fundon/1150782 to your computer and use it in GitHub Desktop.
install vim 7.3 on centos, debian, arch etc.
#!/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
yum install perl perl-devel
# vim7.3
./configure --disable-selinux \
--enable-luainterp \
--enable-perlinterp \
--enable-pythoninterp \
--enable-python3interp \
--enable-tclinterp \
--enable-rubyinterp \
--enable-multibyte \
--disable-gui \
--with-features=huge \
--with-modified-by=cfddream@gmail.com
make
make install
@zlx
Copy link

zlx commented Aug 24, 2012

Hello, cfddream

where to find vim 7.3 for CentOS 6. can you help me?

@needcaffeine
Copy link

@hale
Copy link

hale commented Mar 18, 2013

Thanks for this. I had installed lua seperately (from source) as lua and lua-devel aren't in default repos on CentOS 5.8.

@yaowenqiang
Copy link

someone maybe need this:
yum install ncurses-devel

@rawzone
Copy link

rawzone commented Jun 5, 2013

I had a few errors while running make under CentOS 6.4....

vim.h:2153:21: error: EXTERN.h: No such file or directory
vim.h:2154:19: error: perl.h: No such file or directory
vim.h:2155:19: error: XSUB.h: No such file or directory

Had previously had vim installed via yum and it had installed the packaged: perl-ExtUtils-Embed, this did not get removed when i uninstalled vim via yum.

But after removing this packaged vim compiled like a dream...

Cheers

@thierrymarianne
Copy link

Thank you!!

After having some issues, I managed to install vim 7.4 by following instructions at
http://www.fullybaked.co.uk/articles/installing-latest-vim-on-centos-from-source

@dej4vu
Copy link

dej4vu commented Nov 19, 2015

nice job

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