Below are several steps you can follow to remove any remaining Cinnamon packages and configuration files after running:
bash
sudo apt purge cinnamon-desktop-environment
1. Remove Additional Cinnamon Packages
Cinnamon may have installed several related packages. You can remove most of them by purging anything with “cinnamon” in the name. Be cautious with wildcards so you don’t inadvertently remove a needed package.
This command will attempt to remove all packages starting with cinnamon. You might want to check the list to ensure nothing critical is removed.
2. Auto-remove Orphaned Dependencies
Often when you remove a package, some dependencies remain. Clean them up with:
bash
sudo apt autoremove
This will remove any packages that were automatically installed with Cinnamon and are no longer needed.
3. Clean Up Residual Configuration Files
Sometimes purged packages leave behind configuration files in your user directories or in the system. To remove any residual system configuration files:
List residual config entries:
bash
dpkg -l | grep '^rc' | grep cinnamon
Purge them manually. If you want to purge all residual configuration files automatically (which might affect other software too), you can use:
Following these steps should help ensure that Cinnamon is fully removed from your system. Always consider reviewing the packages that will be removed when using wildcards or mass removal commands to avoid deleting something important inadvertently.