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?
I tried these :
sudo apt-get update
sudo apt-get upgrade
sudo apt-get -f install,
but it doesn't work.