wiki:TipAndDoc/service/sakura

Version 2 (modified by mitty, 14 years ago) (diff)

--

  1. vim

vim

  • www1098:/home/mittyorz% which vim
    vim: Command not found.
    
  • www1098:/home/mittyorz% mkdir -p $HOME/local/src
  • www1098:/home/mittyorz/local/src% tar xzf vim-7.2-extra.tar.gz
  • www1098:/home/mittyorz/local/src% tar xzf vim-7.2-lang.tar.gz
  • www1098:/home/mittyorz/local/src% mv vim72 vim73
  • www1098:/home/mittyorz/local/src% tar xjf vim-7.3.tar.bz2
  • www1098:/home/mittyorz/local/src% cp -a patches vim73
  • www1098:/home/mittyorz/local/src/vim73% cat patches/7.3.* | patch -p0
  • www1098:/home/mittyorz/local/src/vim73% ./configure --enable-multibyte --enable-xim --enable-fontset --with-features=big --prefix=$HOME/local
  • www1098:/home/mittyorz/local/src/vim73% make
  • www1098:/home/mittyorz/local/src/vim73% make install
  • www1098:/home/mittyorz/local/src/vim73% ls -l ~/local/bin/
    -rwxr-xr-x  1 mittyorz  users  1517992 Feb 28 16:04 vim*
    
  • www1098:/home/mittyorz% vim --version
    VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 28 2011 15:29:31)
    Included patches: 1-135
    Compiled by mittyorz@www1098.sakura.ne.jp