Solved KDE5 will be removed as depencency

Hi
After drifting away from FreeBSD for about 13-14 months due to hardware/sofware issues, I have decided to give it a one more try :)
This time, I have installed FreeBSD with KDE. When I installed KDE with following command
Code:
pkg install kde5
It installed entire KDE suit (along with Games, Education, Development etc.). Now I want to remove some unneeded things. However, when I try to remove them, pkg also adds "kde5" in those package which will also be removed. For instance
Code:
pkg remove okular
or
Code:
pkg remove kdegames
also going to remove "kde5" package. So, my question that how can I remove these individual packages without removing "kde5" package?
 
That x11/kde5 is a so-called meta-port. It does nothing of itself, it just depends on a whole bunch of other "convenient" meta-port ports/packages. These are just "sets" of packages. If you want a relatively "blank" KDE you should install x11/plasma5-plasma. Then you can add various independent packages without fear of removing anything important.

As you already installed most of these as dependencies, they are installed as "automatic". Packages that are installed "automatic" and don't have anything depending on them anymore will be removed when you do a pkg-autoremove(8). You can change this "automatic" setting with pkg-set(8): pkg set -A 0 x11/plasma5-plasma5
 
Back
Top