Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
40
rated 0 times [  40] [ 0]  / answers: 1 / hits: 89171  / 3 Years ago, thu, september 23, 2021, 12:15:45

I wanted a window manager, so I installed xfce4. I used



sudo apt-get install xfce4


to do this. To remove it, I used



sudo apt-get remove --purge xfce4  


which didn't work, and neither did



sudo dpkg purge xfce4


as evidenced 1) startx launches the xfce desktop, and 2) apt-cache search xfce4 returns a long list of installed packages.



So, how can I get rid of xfce4 and it's dependencies?


More From » apt

 Answers
4

xfce4 itself is a meta-package that will install a default configured xfce desktop environment.



In most cases the base files that comes with xfce4 are: xfconf, xfce4-utils, xfwm4, xfce4-session, thunar, xfdesktop4, exo-utils



So you can do



sudo apt-get purge xfconf xfce4-utils xfwm4 xfce4-session thunar xfdesktop4 exo-utils xfce4-panel xfce4-terminal


Then most of the package that were associated with these package become autoremovable so you can run



sudo apt-get autoremove


or, almost all xfce4 package depend upon libxfce4util-common. Just purge that one and you remove everything related to xfce


[#43641] Friday, September 24, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uffno

Total Points: 283
Total Questions: 93
Total Answers: 111

Location: Saint Vincent and the Grenadines
Member since Thu, Oct 15, 2020
4 Years ago
uffno questions
Thu, Sep 2, 21, 18:08, 3 Years ago
Sun, Apr 2, 23, 15:15, 1 Year ago
Sat, Jan 8, 22, 16:37, 2 Years ago
;