To install the build dependencies of some software, we use command
$ sudo apt-get build-dep XXXX
What to do in case we want to remove those packages only, those dependency packages installed by build-dep?
In order to find a package dependecies you can use apt-rdepends, to install run:
How to use:
you can find these dependencies with