This post intend to write down the step for installing ruby and vim command line tools, without root access. In addition, ncurses is the prerequisities of installing ruby and vim. Also, please install ruby first in order to enable rubyinterp.
- download ncurses
tar xvf ncurses-5.9.tar.gz- sh
./configure --prefix=/home/bobby/tools/ncurses ##--with-shared makemake install- download ruby
- sh
./configure --prefix=/home/bobby/tools/ruby1.9 --with-tlib=ncurses makemake install- download from vim
bzip2 -cd vimxxx.tar.bz2 | tar xvf -- edit .bash_profile
set CPPLAGS="-I/home/bobby/tools/ncurses/include" LDFLAGS="-L/home/bobby/tools/ncurses/lib" export CPPFLAGS LDFLAGS - sh
./configure --prefix=/home/bobby/tools/vim7.4 --disable-selinux --enbale-gui=no --without-x --disable-gpm --disable-nls --with-tilib=ncurses --enable-multibyte --enable-rubyinterp --enable-perlinterp --enable-pythoninterp makemake install- edit ~/.bashrc
alias vim="/home/bobby/tools/vim7.4/bin/vim" - edit ~/.vimrc
set synatx on set nocompatible set backspace=2 - setup vimruntime in order to let vim find the syntax env, please edit .bash_profile
export VIMRUNTIME=/home/bobby/tools/preinstall/vim74/runtime