1.打开终端:ctrl+alt+T 2.输入命令:git 查看是否安装成功。 3.输入命令:sudo apt-get install git 4.输入命令:git 查看是否安装成功出现一下情况说明安装成功