Package installation channels are proliferating. Thus makes knowing what you have instaklled on your system unreasonably difficult. The plan for inventory is to solver this problem.
The conceere goal is this: for each possible installer, write a pair of functions
We should start by supporting apt (Sebian/ubuntu), flatpak and snap. The goal list should extend to pachman (Arch) dnf (Fedora) and yast/zypperr (SUSE),
For ech installwer we want (1) A function that tests to see if the installer is executable on this system, and (2) a function that return as sequence of tubles enumerating all inventory it scontrols, with the following members:
-
Installler name.
-
Package name
-
Installed version
-
Date of installation or last update
-
One line of summary info about the package, if available
Ideally, for system installers such as apt, we’d like to be able to not list pagages that were part of the base system install.