Get the App
SLTechnology News&Howtos  ›  Development  › 

How to install Git distributed version control system under Linux system

Shulou Source: shulou.com Published: 2022-06-01 23:54:00 10月06日 Update

This article mainly explains "how to install Git distributed version control system under Linux system". The content of this article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to install Git distributed version control system under Linux system".

Git is an open source distributed version control software for efficient and high-speed version management of projects ranging from very small to very large. Git was originally designed and developed by Linus Torvalds to manage Linux kernel development.

We need to install Git before using Git.

Installation on Linux platform

Git's work requires calling code from libraries such as curl,zlib,openssl,expat,libiconv, so you need to install these dependent tools first.

On systems with yum (such as Fedora) or systems with apt-get (such as Debian), you can install it with the following command:

Each Linux system can be installed using its installation package management tools (apt-get, yum, etc.):

Debian/Ubuntu

The Debian/Ubuntu Git installation command is:

$apt-get install libcurl4-gnutls-dev libexpat1-dev gettext\ libz-dev libssl-dev$ apt-get install git$ git-- versiongit version 1.8.1.2

Centos/RedHat

If the system you are using is the Centos/RedHat installation command:

$yum install curl-devel expat-devel gettext-devel\ openssl-devel zlib-devel$ yum-y install git-core$ git--versiongit version 1.7.1 Thank you for reading. The above is the content of "how to install Git distributed version Control system under Linux system". After the study of this article, I believe you have a deeper understanding of how to install Git distributed version Control system under Linux system. The specific use situation still needs to be verified by practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Systems versions distributed control control systems commands learning management content tools development effectiveness code architecture kernel that is platforms ideas situations articles Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information macOS Xiaomi MariaDB NVidia