To uninstall libcupscgi1-dev just follow these instructions.
/debian/wheezy/main///install/index.html Common UNIX Printing System(tm) - Development files for CGI library Debian 7.0 libdevel 1.5.3-5+deb7u6
sudo apt-get remove libcupscgi1-dev
Which will remove just the libcupscgi1-dev package itself.
sudo apt-get remove --auto-remove libcupscgi1-dev
This will remove the libcupscgi1-dev package and any other dependant packages which are no longer needed.
If you also want to delete your local/config files for libcupscgi1-dev then this will work.
sudo apt-get purge libcupscgi1-dev
Or similarly, like this libcupscgi1-dev
sudo apt-get purge --auto-remove libcupscgi1-dev
|Maintainer||Debian Printing Team |
|Description||Common UNIX Printing System(tm) - Development files for CGI library|