You are not logged in.
Hello,
I was wondering is there is a way to Remove the packages that my system does not require.
I can do pacman -Qdt to see them, and pacman -R package1 package2...
Is there a way to remove them directly or a trick to do that ?
Thanks
Offline
If you really know what you're doing
pacman -Rns $(pacman -Qqdt)
Last edited by karol (2010-09-18 20:44:40)
Offline
Make sure you check the list of packages that are going to be uninstalled first, just to make sure it's sensible.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
I would not recommend this.
Although I often check my packages with -Qdt I would never ever pipe this into any removal-command. you should try to keep the system sane manually. the propability of breakage much lower ;-)
"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations
Offline
I would not recommend this.
Although I often check my packages with -Qdt I would never ever pipe this into any removal-command. you should try to keep the system sane manually. the propability of breakage much lower ;-)
'pacman -Qqdt'; if you find some apps you need, remove them from the list, e.g. 'pacman -D --asexplicit <package name>'.
Double check by issuing another 'pacman -Qqdt' and if you're sure, remove all of those packages (with their dependencies, if possible) 'pacman -Rns $(pacman -Qqdt)'.
Offline