收藏文章 楼主

git的下载和安装

版块:疑难   类型:普通   作者:小绿叶技术博客   查看:1228   回复:0   获赞:0   时间:2021-11-07 10:15:03

Download for Linux and Unix

It is easiest to install Git on Linux using the preferred package manager of your Linux distribution. If you prefer to build from source, you can find tarballs on kernel.org. The latest version is 2.33.1.


Debian/Ubuntu

For the latest stable version for your release of Debian/Ubuntu


# apt-get install git

For Ubuntu, this PPA provides the latest stable upstream Git version


# add-apt-repository ppa:git-core/ppa # apt update; apt 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

Mageia

# urpmi git

Nix/NixOS

# nix-env -i git

FreeBSD

# pkg install git

Solaris 9/10/11 (OpenCSW)

# pkgutil -i git

Solaris 11 Express

# pkg install developer/versioning/git

OpenBSD

# pkg_add git

Alpine

$ apk add git

Red Hat Enterprise Linux, Oracle Linux, CentOS, Scientific Linux, et al.

RHEL and derivatives typically ship older versions of git. You can download a tarball and build from source, or use a 3rd-party repository such as the IUS Community Project to obtain a more recent version of git.






 git 下载安装:  https://git-scm.com/download/linux

git 各个系统下载:https://git-scm.com/downloads

提供企业建站服务,免费网防系统,提交信息登录 http://yundun.ddoss.cn 邮箱: proposal@ddoss.cn 
回复列表
默认   热门   正序   倒序

回复:git的下载和安装

头像

用户名:

粉丝数:

签名:

资料 关注 好友 消息