LoginSignup
12
12

More than 5 years have passed since last update.

CentOSにviの7.3を入れる方法

Last updated at Posted at 2012-04-07

コピペ
http://d.hatena.ne.jp/janus_wel/20110104/1294107609

余談だけど、EC2にMySQL+Vim73+vimrcを整備したAMIを作成しておくと捗る気がした。なんとなくCentOS使ってるけど、次はDebian使ってみようかな。dpkgに悪いイメージない。

yum install ncurses-devel
yum install lua lua-devel
mkdir -p work/install/vim
cd work/install/vim
wget ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2
tar xjvf vim-7.3.tar.bz2
mkdir patches
cd patches
curl -O "ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.[001-094]"
cd ../vim73
for i in `ls ../patches/7.3.*`; do patch -p0 < $i; done
cd src
./configure --disable-selinux --enable-luainterp --enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-tclinterp --enable-rubyinterp --enable-multibyte --disable-gui --with-features=huge
make ARCH=x86_64
cd ~
wget "http://asic-linux.com.mx/~izto/checkinstall/files/source/checkinstall-1.6.2.tar.gz"
tar zxvf checkinstall-1.6.2.tar.gz
cd checkinstall-1.6.2
make
make install
cd ~/work/install/vim/vim73/src
checkinstall
cp /usr/src/redhat/RPMS/x86_64/Vim-7.3-1.x86_64.rpm ../../
rpm -ivh Vim-7.3-1.x86_64.rpm
12
12
4

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
12