remove and reinstall ubuntu desktop code example
Example: clean uninstall ubuntu-desktop from ubuntu server
$~: sudo apt purge ubuntu-desktop -y && sudo apt autoremove -y && sudo apt autoclean
$~: sudo apt purge ubuntu-desktop -y && sudo apt autoremove -y && sudo apt autoclean