Debian 5 安装 vim7.2
来源:互联网 发布:java countdownlatch 编辑:程序博客网 时间:2024/06/17 22:58
debian系统中vim不支持syntax on 无法让vim充满色彩!
问题分析:
原因是debian系统中vi和vim都是链接到vim.tiny上,而vim.tiny不支持syntax.
ls -al /etc/alternatives/vim
ls -al /etc/alternatives/vi
通过以上两个命令会发现这个问题原因,故自己装vim
1.去ftp://ftp.vim.org/pub/vim/unix 下载Vim7.2的源码。
2.
shell >> tar xf vim-7.1.tar.bz2
shell >> ./configure 出现下面的错误
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.
3. 到http://packages.debian.org/sid/libncurses5-dev
下载ncurses_5.7+20100313.orig.tar.gz
4.
>>tar xvf /ncurses_5.7+20100313.orig.tar.gz
>>cd ncurses-5.7
>>./configure
>>make & make install
5.建立软连接
ln -s /usr/local/vim73/bin/vim /usr/bin/vim
0 0
- Debian 5 安装 vim7.2
- debian服务器安装vim7.4 和 vimgdb7.4
- 搭建linux服务器之Debian安装Vim7.4
- CentOS6.5 下安装vim7
- centos6.4 卸载 vim7.2 安装vim7.4
- centos安装vim7.4
- centos安装vim7.4
- centos安装vim7.4
- centos 安装 vim7.3
- Mac安装vim7.4
- 编译安装 VIM7.4
- centos安装vim7.4
- centos安装vim7.4
- centos6安装vim7
- 在centos6.5下编译安装vim7.4
- Linux离线安装pip-8.1.2+ssh+Vim7.4
- ubuntu10.10 安装vim7.3
- Ubuntu12.04安装vim7.3
- c/c++ 连接mysql,并进行数据查询
- ActiveRecord类
- CMake和Configure项目的安装与反安装
- Linux下安装MongoDB
- 在 Debian Linux 安装配置 MongoDB 步骤
- Debian 5 安装 vim7.2
- 运行locate无法找到mlocate.db的解决方法
- c/c++ 使用epoll
- vim c++补全
- wamp2.5 开启 ssl
- VIM插件project应用
- 用VIM插件project管理你的项目
- vim 格式化代码
- 学习使用autotools