daniel@daniel-laptop:~$ apt-get autoremove
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?
daniel@daniel-laptop:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
xchat-gnome-common planetpenguin-racer-data libsmpeg0
The following packages will be REMOVED:
libsmpeg0 planetpenguin-racer-data xchat-gnome-common
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 12.7MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 117786 files and directories currently installed.)
Removing libsmpeg0 ...
Removing planetpenguin-racer-data ...
Removing xchat-gnome-common ...