Thursday, September 28, 2023
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 591  / 2 Years ago, tue, april 5, 2022, 4:30:20

I wanted to test plasma-desktop so I installed it with:



sudo apt install plasma-desktop


It installed a bunch of packages as expected occupying 417Mb of disk space. I tried the DE for a while and decided to get rid of it, so I ran:



sudo apt purge --autoremove plasma-desktop


This however only removed 174Mb of the original 417Mb. How do I get rid of the rest?


More From » 19.10

 Answers
2

Getting inspiration from this answer I opened the /var/log/apt/history.log file, copied the packages that were installed by the plasma-desktop meta package (had to do some cleaning by removing the brackets, commas and :amd64) and then I ran:



sudo apt purge --autoremove looooooong package list pasted from text editor



The remaining ~284Mb of packages are gone and importantly without breaking the system.


[#4607] Tuesday, April 5, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ticrew

Total Points: 190
Total Questions: 111
Total Answers: 99

Location: Fiji
Member since Wed, Jul 14, 2021
2 Years ago
;