Install Git__linux on Linux

Source: Internet
Author: User

First, you can try to enter git and see if the system has any git installed:

$ git
The program ' git ' are currently not installed. Can install it by typing:
sudo apt-get install git
Like the above command, there are a lot of Linux that will be friendly enough to tell you that Git is not installed and will tell you how to install Git.

If you happen to use Debian or Ubuntu Linux, a sudo apt-get install git can be done directly
The installation of Git is very simple.

Older Debian or Ubuntu Linux, change the command to sudo apt-get install Git-core, because
The former software is also called Git (GNU Interactive Tools), and as a result git can only be called Git-core. Because Git name
The gas is really too big, then the GNU Interactive Tools changed to Gnuit,git-core officially git.

If it is another Linux version, it can be installed directly through the source code. First from git website download source code, and then decompression, in turn to lose
into:./config,make,sudo make install these commands are ready to be installed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.