To uninstall libdiscover-dev just follow these instructions.
sudo apt-get remove libdiscover-dev
This will remove just the libdiscover-dev package itself.
sudo apt-get remove --auto-remove libdiscover-dev
This will remove the libdiscover-dev package and any other dependant packages which are no longer needed.
If you also want to delete your local/config files for libdiscover-dev then this will work.
sudo apt-get purge libdiscover-dev
Or similarly, like this libdiscover-dev
sudo apt-get purge --auto-remove libdiscover-dev
|Maintainer||Debian Install System Team <firstname.lastname@example.org>|
|Description||hardware identification library development files|