先获得软件wget ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2
然后解压 tar zxvf vim-7.3.tar.bz2
然后./configure
再然后make
然后就会报错
You need to install a terminal library; for example ncurses. Or specify the name of the library with --with-tlib.
就需要安装 ncurses
执行 sudo apt-get install ncurses-dev 命令安装好后 在make &&makeinstall