Windows Server 2022 Standard Vs Windows Server 2022 Datacenter

The tool would have to know which applications are already installed, what software installs are used (flatpak, snap, deb etc). Given the fragmentation and different folders linux apps are installed in that might be difficult to accomplish.