To uninstall cmake-curses-gui just follow these instructions.
sudo apt-get remove cmake-curses-gui
This will remove just the cmake-curses-gui package itself.
sudo apt-get remove --auto-remove cmake-curses-gui
This will remove the cmake-curses-gui package and any other dependant packages which are no longer needed.
If you also want to delete your local/config files for cmake-curses-gui then this will work.
sudo apt-get purge cmake-curses-gui
Or similarly, like this cmake-curses-gui
sudo apt-get purge --auto-remove cmake-curses-gui
|Maintainer||Debian CMake Team <firstname.lastname@example.org>|
|Description||curses based user interface for CMake (ccmake)|