To uninstall flexc++ just follow these instructions.
/debian/stretch/main///install/index.html Flex-style scanner generator for C++ Debian 9.0 devel 2.05.00-1+b1
sudo apt-get remove flexc++
Which will remove just the flexc++ package itself.
sudo apt-get remove --auto-remove flexc++
This will remove the flexc++ package and any other dependant packages which are no longer needed.
If you also want to delete your local/config files for flexc++ then this will work.
sudo apt-get purge flexc++
Or similarly, like this flexc++
sudo apt-get purge --auto-remove flexc++
Package | flexc++ |
Version | 2.05.00-1+b1 |
Maintainer | Frank B. Brokken |
Description | Flex-style scanner generator for C++ |
Distro | debian |
Release | stretch |
Repo | main |
Section | devel |