How to uninstall or remove dh-exec software package from Ubuntu 16.10 (Yakkety Yak)

How to uninstall or remove dh-exec software package from Ubuntu 16.10 (Yakkety Yak)

You can uninstall or removes an installed dh-exec package itself from Ubuntu 16.10 (Yakkety Yak) through the terminal,

$ sudo apt-get remove dh-exec 

Uninstall dh-exec including dependent package

If you would like to remove dh-exec and it's dependent packages which are no longer needed from Ubuntu,

$ sudo apt-get remove --auto-remove dh-exec 
Use Purging dh-exec

If you use with purge options to dh-exec package all the configuration and dependent packages will be removed.

$ sudo apt-get purge dh-exec 

If you use purge options along with auto remove, will be removed everything regarding the package, It's really useful when you want to reinstall again.

$ sudo apt-get purge --auto-remove dh-exec 

See Also,

How to install dh-exec software package from Ubuntu 16.10 (Yakkety Yak)?