离线安装VIM

本次安装是在WIN7的环境下装了VMWARE,然后再虚拟机的情况下进行安装,具体如下:

1.在有网络的地方下载到vim-7.3.tar.bz2,网址是:http://download.csdn.net/detail/wxwd521/4484808;

2.将该安装包copy到虚拟机的里,(已经安装好vm tools)。

3.打开Terminal后,解压该包:

执行命令:tar -jxvf vim-7.3.tar.bz2 

进入该目录:cd vim73/

执行命令:./configure

最下面出现如下的提示:

checking for tgetent()... configure: error: NOT FOUND!
      You need to install a terminal library; for example ncurses.
      Or specify the name of the library with --with-tlib.

在有网的地址下载如下包:libncurses:http://download.csdn.net/detail/sannicholas/3754938#comment;
通过存储设备cp到虚拟机的里。

执行:

dpkg -i libncurses5-dev_5.7%2B20100626-0ubuntu1_i386

安装完毕后,重新执行 ./configure 

执行完后,执行 make

最后执行make install

安装完毕。


你可能感兴趣的:(linux持续学习,vim,terminal,library,虚拟机,vmware,ubuntu)