Git - Download for Linux and Unix

It is easiest to install Git on Linux using the preferred package manager of your Linux distribution.

Debian/Ubuntu

$ apt-get install git

Fedora

$ yum install git  # (up to Fedora 21)
$ dnf install git  # (Fedora 22 and later)

Gentoo

$ emerge --ask --verbose dev-vcs/git

Arch Linux

$ pacman -S git

openSUSE

$ zypper install git

FreeBSD

$ cd /usr/ports/devel/git
$ make install

Solaris 11 Express

$ pkg install developer/versioning/git

OpenBSD

$ pkg_add git

 

Copied from: http://git-scm.com/download/linux

posted on 2015-12-28 22:19  huey2672  阅读(501)  评论(0编辑  收藏  举报