linux如何安装spf软件,linux 中spfvim安装

1. 安装 git

1.1 安装依赖的包:

curl          curl-devel     zlib-devel         openssl-devel      perl      cpio      expat-devel getttext-devel

1.2 安装git:

wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz

tar xzvf git-latest.tar.gz

cd git-2011-11-30 #你的目录可能不是这个

autoconf

./configure

make

sudo make install

1.3 检查git安装:

git --version

git安装完后,执行命令的时候出现:error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory

解决办法如下:

1.在/etc/ld.so.conf中加一行/usr/local/lib,

2.然后运行/sbin/ldconfig,文件解决,没有报错了~~

2. 安装spfvim

# git clone https://github.com/spf13/spf13-vim.git

# cd spf13-vim

# ./bootstrap.sh

原文:http://www.cnblogs.com/java-cjt/p/3920095.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值