To uninstall libbg1-dev just follow these instructions.
sudo apt-get remove libbg1-dev
This will remove just the libbg1-dev package itself.
sudo apt-get remove --auto-remove libbg1-dev
This will remove the libbg1-dev package and any other dependant packages which are no longer needed.
If you also want to delete your local/config files for libbg1-dev then this will work.
sudo apt-get purge libbg1-dev
Or similarly, like this libbg1-dev
sudo apt-get purge --auto-remove libbg1-dev
|Maintainer||Gerrit Pape <firstname.lastname@example.org>|
|Description||BG Libraries Collection (development)|