Is there a way to programmatically obtain the list of installed packages on the host itself? I know there is an html file containing licenses info of both runtime and build dependencies that can be found at /opt/google/chrome/resources/about_os_credits.html
, which seems to be generated at build time, but I wonder if there are other places where I can find this information in a more structured way.
Ideally, I would like to obtain the same information I can find in flatcar-linux license.json file, which is also generated at build time (flatcar is also based on chromeos and uses a very similar build process, based on gentoo) but I don't know if that would be possible.