I tried to install Git using this command apt-get install git
, but getting this:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
What's problem?
I tried these :
sudo apt-get update
sudo apt-get upgrade
sudo apt-get -f install,
but it doesn't work.
sudo apt-get install git
? – Djax Nov 4 '15 at 14:26