git for linux 下载和安装
官方文档说输入
apt-get install git 即可下载
实际输入以后,报错
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
之后加上管理员权限:sudo,解决
指令为sudo apt-get install git