不知到为什么使用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
ubuntu12.04 vim源码 安装指南
猜你喜欢
转载自aircoder.iteye.com/blog/1812684
今日推荐
周排行