How can I give a list of packages installed via apt a name, eg. one that I could find with dpkg-query -W my-packages
or something similar? For example, call the group
build-essential checkinstall gparted ...
of packages my-packages
Rationale: I would like to be able to check if default groups of packages have been installed in my install scripts.
Running Ubuntu 18.04