第一步:
由于是14.04系统所以这样
$sudo -i
$cd /etc/apt/sources.list.d
$echo "deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multiverse" > ia32-libs-raring.list
$apt-get update
$apt-get install ia32-libs
$rm ia32-libs-raring.list
第二步:
sudo apt-get install git gcc binutils bzip2 flex python perl make ia32-libs grep unzip gawk subversion libz-dev libncurses5 g++ libncurses5-dev ncurses-term zlib1g-dev bison autoconf vim libssl-dev libssl0.9.8 curl
第三步:
安装git 看我的博客
第四步: