Repeat previous command with sudo
suggest change$ apt-get install r-base
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?
$ sudo !!
sudo apt-get install r-base
[sudo] password for <user>:
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents