how to use 'apt-get autoremove' to remove unnecessary packages
I was installing something and ran into this (in the terminal). So just how do I remove them? Thanks!
The following packages were automatically installed and are no longer required: libpostproc52 linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic linux-image-3.13.0-24-generic linux-image-extra-3.13.0-24-generic Use 'apt-get autoremove' to remove them. |
Hi,
you run exactly that command with root privs. Eg open a terminal an run Code:
sudo apt-get autoremove |
Quote:
So I run: sudo apt-get autoremove then I run: libpostproc52 linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic then I run: sudo apt-get autoremove then I run: linux-image-3.13.0-24-generic linux-image-extra-3.13.0-24-generic |
Hi,
no you just have to run: Code:
sudo apt-get autoremove Evo2. |
Quote:
gregory@UpstairsComputer:~/Desktop$ sudo apt-get autoremove [sudo] password for gregory: Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: libpostproc52 linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic linux-image-3.13.0-24-generic linux-image-extra-3.13.0-24-generic wine-gecko2.21 wine-mono0.0.8 0 upgraded, 0 newly installed, 7 to remove and 2 not upgraded. After this operation, 290 MB disk space will be freed. Do you want to continue? [Y/n] I don't know what those other things do, so I said no. Should I go back in run it again and say yes? Which is another way of saying, 'Are those other things important or should I get rid of them?' And 290MB seems a fair amount of file size. Maybe some of that stuff is imporant? I know I've been trying to do some stuff with WINE lately. Is there any way to remove just the ones I mentioned? |
Hi,
from the apt-get man page: Code:
autoremove Code:
apt-cache show <packagename> Code:
sudo apt-get remove <packagename> Code:
sudo apt-get purge <packagename> HTH, Evo2. |
Quote:
|
All times are GMT -5. The time now is 11:11 PM. |