зеркало из
https://github.com/iharh/notes.git
synced 2025-10-30 21:26:09 +02:00
35 строки
766 B
Plaintext
35 строки
766 B
Plaintext
cat /etc/redhat-release
|
|
|
|
CentOS release 6.4 (Final)
|
|
|
|
http://www.fullybaked.co.uk/articles/installing-latest-vim-on-centos-from-source
|
|
http://gyaresu.org/vim/2013/11/28/vim-74-on-centos-64/
|
|
|
|
|
|
yum groupinstall -y 'Development Tools'
|
|
yum install -y mercurial
|
|
yum install -y perl-devel python-devel ruby-devel perl-ExtUtils-Embed ncurses-devel
|
|
|
|
mkdir bld
|
|
cd bld
|
|
|
|
hg clone https://vim.googlecode.com/hg/ vim
|
|
|
|
OR
|
|
|
|
curl -O ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2
|
|
wget ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2
|
|
tar -xjf vim-7.4.tar.bz2
|
|
|
|
cd vim[74]
|
|
./configure --with-features=huge --enable-perlinterp --enable-rubyinterp --enable-pythoninterp
|
|
make
|
|
make install
|
|
|
|
source ~/.zshrc
|
|
|
|
vim --version
|
|
|
|
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 27 2013 10:42:25)
|
|
|