不知到为什么使用apt-get不能安装vim了,在网上看资料,源码安装了!
使用root用户运行
运行 :tar jxf vim-7.3.tar.bz2
运行 : cd vim73
运行 : cd src
运行 : ./configure
运行 : make
报错:no terminal library found
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.
make: *** [config] 错误 1
运行: apt-get install libncurses5-dev
运行:make
运行 : make install
运行 :apt-get install vim-gnome
ok !完成了!
sudo apt-get install vim-gtk 也可一这样安装
sudo apt-get install vim
vim 主页:http://wiki.ubuntu.org.cn/Vim%E7%94%A8%E6%88%B7%E6%93%8D%E4%BD%9C%E6%8C%87%E5%8D%97
使用root用户运行
运行 :tar jxf vim-7.3.tar.bz2
运行 : cd vim73
运行 : cd src
运行 : ./configure
运行 : make
报错:no terminal library found
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.
make: *** [config] 错误 1
运行: apt-get install libncurses5-dev
运行:make
运行 : make install
运行 :apt-get install vim-gnome
ok !完成了!
sudo apt-get install vim-gtk 也可一这样安装
sudo apt-get install vim
vim 主页:http://wiki.ubuntu.org.cn/Vim%E7%94%A8%E6%88%B7%E6%93%8D%E4%BD%9C%E6%8C%87%E5%8D%97
Ubuntu下Vim安装与配置

本文介绍在Ubuntu系统中解决Vim安装问题的过程,包括使用源码安装Vim的方法及遇到的问题与解决办法,例如配置过程中缺少终端库的错误处理。
1180

被折叠的 条评论
为什么被折叠?



