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>:

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents