You are not logged in.

#1 2010-09-18 20:25:39

Lowra
Member
Registered: 2009-09-21
Posts: 192

[Quest] Pacman -Qdt & Pacman -R theses packages ?

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 wink

Offline

#2 2010-09-18 20:43:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Quest] Pacman -Qdt & Pacman -R theses packages ?

If you really know what you're doing

pacman -Rns $(pacman -Qqdt)

Last edited by karol (2010-09-18 20:44:40)

Offline

#3 2010-09-18 20:51:33

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [Quest] Pacman -Qdt & Pacman -R theses packages ?

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

#4 2010-09-19 00:36:08

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: [Quest] Pacman -Qdt & Pacman -R theses packages ?

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

#5 2010-09-19 00:49:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Quest] Pacman -Qdt & Pacman -R theses packages ?

Labello wrote:

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

Board footer

Powered by FluxBB