Ok So I am trying to install tor browser by commands
apt-get install tor torbrowser-launcher
also tried sudo apt-get install tor torbrowser-launcher
but The error I am getting is
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?
Actually before this I was getting some other errors from dpkg which denied me permissions. So I ran some commands to remove some 3 lock files but I also removed lock-frontend after that. It was written in some article. So what should I do now?
apt-get
commands with elevated privileges, i.e., withsudo
. Try runningsudo apt-get install tor torbrowser-launcher
. – Kulfy Jan 28 '21 at 09:23