0

It gives me this error

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?

Please help me with this

0

2 Answers 2

2

Open a terminal (Ctrl+Alt+T) and type:

sudo apt-get install git

Then hit Enter.

This will install the git package.

1
  • This command installs the package. OPs issue is that he runs this command yet gets an error. Reffer to the linked duplicate for the proper solution :) Mar 18, 2016 at 19:07
0

Either of the two reasons :

  1. You didn't use sudo
  2. Synaptic or Ubuntu Software Center is working

Please check and re try, thanks

Not the answer you're looking for? Browse other questions tagged .