Created
August 17, 2011 03:52
-
-
Save fundon/1150782 to your computer and use it in GitHub Desktop.
install vim 7.3 on centos, debian, arch etc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 \ | |
[email protected] | |
make | |
make install |
someone maybe need this:
yum install ncurses-devel
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
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
nice job
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this. I had installed lua seperately (from source) as lua and lua-devel aren't in default repos on CentOS 5.8.