标签:bin cpio pen ssl 安装git yum local kernel 异常
1.下载
https://www.kernel.org/pub/software/scm/git/git-2.9.4.tar.gz
2.解压
tar zxvf git-2.9.4.tar.gz
cd git-2.9.4.tar.gz
3.编译安装
./configure --prefix=/usr/local/git (安装路径)
make - && make install
4.配置环境变量
GIT_HOME=/usr/local/git
PATH=$PATH:$GIT_HOME/bin
export GIT_HOME PATHsource /etc/profile
5.检查
git --version
异常:
1.Can‘t locate ExtUtils/MakeMaker.pm
解:yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker
2.MSGFMT po/de.msg make[1]: *** [po/de.msg] Error 127
解:yum install tk zlib-devel openssl-devel perl cpio expat-devel gettext-devel
标签:bin cpio pen ssl 安装git yum local kernel 异常
原文地址:http://www.cnblogs.com/wanshi1989/p/6912158.html