Remove Gnome & Cinnamon desktops

Hello I install Cinnamon & Gnome desktops with the following commands:

sudo apt install parrot-cinnamon

sudo apt install parrot-gnome

and now I’m going to remove it.
I typed commands to delete it but were not completely removed

how too remove completely Cinnamon & Gnome desktops?

  • Parrot OS 4.11

sudo apt purge parrot-cinnamon parrot gnome && sudo apt autoremove

This doesn’t remove ALL of it. You’ll have to manually remove some file entries and stuff, which I don’t know how though. I somehow broke my old installation because I removed xSession.