How to uninstall a diectory of *.deb files
I have a diectory with many of deb files. I have installed them with
dpkg -i *.deb
How to UNinstall them now?
As I think, I should grep for package names first.
I can do
dpkg --info dapl2-utils_2.0.15-1_amd64.deb | grep Package:
but how to:
1) extract package name from output?
2) do this for each file in direcotry?