How To Install Git on Debian 7
2013-11-07 14:36
447 查看
原文地址:http://digitalocean.com/community/articles/how-to-install-git-on-debian-7
Install Git with Apt-Get
apt-get install git-core
Install Git from the Source
apt-get install libcurl4-gnutls-dev libexpat1-dev
gettext libz-dev libssl-dev build-essential
安装gettext时应去掉autopoint,autopoint依赖自带的git-core 1.7.10.4。
wget https://git-core.googlecode.com/files/git-1.8.1.2.tar.gz
wget --no-check-certificate https://www.kernel.org/pub/software/scm/git/git-1.8.4.2.tar.bz2
tar -zxf git-1.8.1.2.tar.gz
cd git-1.8.1.2
Global Install
make prefix=/usr/local all
sudo make prefix=/usr/local install
git config --global user.name "NewUser"
git config --global user.email newuser@example.com
git config --list
Install Git with Apt-Get
apt-get install git-core
Install Git from the Source
apt-get install libcurl4-gnutls-dev libexpat1-dev
gettext libz-dev libssl-dev build-essential
安装gettext时应去掉autopoint,autopoint依赖自带的git-core 1.7.10.4。
wget https://git-core.googlecode.com/files/git-1.8.1.2.tar.gz
wget --no-check-certificate https://www.kernel.org/pub/software/scm/git/git-1.8.4.2.tar.bz2
tar -zxf git-1.8.1.2.tar.gz
cd git-1.8.1.2
Global Install
make prefix=/usr/local all
sudo make prefix=/usr/local install
git config --global user.name "NewUser"
git config --global user.email newuser@example.com
git config --list
相关文章推荐
- How-To: Install Google’s Android Eclipse plugin (and/or adb) on 64-bit Debian/Ubuntu
- How to Install PHP 7 with Apache and MariaDB on CentOS 7/Debian 8
- How to Install Xcode, Homebrew, Git, RVM, Ruby & Rails on Snow Leopard, Lion, Mountain Lion, and Mavericks
- How to Install and Configure Bind 9 (DNS Server) on Ubuntu / Debian System
- How to install Git on RedHat Enterprise 53
- How to Install HTTP Git Server With Nginx on Ubuntu 16.04
- How to install and configure Jabber Server (Ejabberd) on Debian Lenny GNU / Linux
- (转)How to Install Xcode, Homebrew, Git, RVM, Ruby & Rails on Snow Leopard, Lion, and Mountain Lion
- How To Install Git on CentOS 7
- How To Install Linux, Nginx, MySQL, PHP (LEMP) Stack on Debian 7
- How to quickly install git on ret hat
- How to install Firefox 17 on Linux Mint, Ubuntu, Debian, CentOS, Fedora ... or any other Linux dist
- How To Install Linux, Nginx, MySQL, PHP (LEMP) Stack on Debian 7
- How to Install Git on Ubuntu 12.04
- 如何在centos6.4上安装git How To Install Git on a CentOS 6.4 VPS
- How-to Install Nvidia Driver on 2.6.25-2 Debian Kernel
- How To Install On Debian with Several Codecs
- How To Install Git on Ubuntu 14.04
- How To Install Kernel 3.10 On Ubuntu, Linux Mint, Debian and Derivates
- How To Install Git on CentOS 7