Skip to main content
Topic: Cleaning up kde5 library dependencies (Read 200 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Cleaning up kde5 library dependencies

There still are some dependencies at the moment but most can be removed.

Some kde programs are clinging on to them heavily, consider also removing:
-krename (the most)
-k3b (a lot)
-krita (a few)
-Themes oxygen5 breeze5 etc...
-Some utils like kemoticons
-Cascaded library kdelibs4support which i happened to have for some reason
-Some non kde programs pulling those depends like copyq
*Advice: try probing with -Rns or -Rnsc for the stuck ones (but be VERY careful not to hit Enter) to see what else may be holding some more packages.

After removing these, it's as easy as iterating over the remainders:

Code: [Select]
pacman -Qq | grep -E '^k.*5' | while read i; do yes | pacman -R $i; done

Optionally:
1: deal with the orphans left with pacman -Qtdq
2: run the above loop again, and then also try replacing the grep from
Code: [Select]
'^k.*5'
to
Code: [Select]
 '.*qt5.*'
as some qt5 dependencies can potentially remain.