Operating System: centos 6.5
Preparations:
Install git
1. prepare before installing git (install the dependent package ): yum install curl-y Yum install curl-devel-y Yum install zlib-devel-y Yum install OpenSSL-y Yum install Perl-y Yum install cpio-y Yum install expat-devl- Y Yum install gettext-devl-y Yum install perl-devel.i686-y Yum install-y Libpcap. x86_64 Yum install-y libpcap-devel.x86_64 Yum install-y perl-devel.x86_642. compile and install wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz tar xzvf git-latest.tar.gz CD Git-***** AutoConfig. /configure make & make install3. test git version
Centos installation preparationDelete An Installed Package
yum erase ffmpeg x264 x264-devel
CentosInstall various dependency packages
yum install gcc gcc-c++ make nasm pkgconfig wget curl curl-devel zlib-devel openssl-devel perl cpio expat-devel gettext-devel libtool mhash.x86_64 perl-Digest-SHA1.x86_64 pcre.i386 pcre.x86_64 pcre-devel.i386 pcre-devel.x86_64 -y
Wget http://www.nasm.us/pub/nasm/releasebuilds/2.11.05/nasm-2.11.05.tar.bz2tar xvf nasm-2.11.05.tar.bz2cd nasm-2.11.05 configuration installation directory is/usr/bin:./configure -- prefix =/usr compiled and installed: Make & make install