Every time I install a package:
sudo apt-get install <pkg>
apt-get displays a list of suggested packages. I have simply ignored these so far, but some of these suggestions are actually good (and some are not). I would like to recover all these lists into one big list (so that I can review it and decide if there is some package I want to install), but I could not see them in /var/log/apt/history.log.
That is, I'm looking for something like
list = []
for package in installed_packages:
list.append(package.name)
print list
dpkg-query --status some-packagewill also show the Suggests packages. – JamesThomasMoon Feb 24 '24 at 20:22