# hardware, without needing dmidecode for f in sys_vendor product_name bios_version bios_date; do [ -r "/sys/class/dmi/id/$f" ] && printf '%-16s %s\n' "$f" "$(cat /sys/class/dmi/id/$f)" done # what the image actually ships, by dpkg, not by PATH for p in pciutils usbutils dmidecode nvme-cli smartmontools lm-sensors \ ethtool intel-microcode fwupd build-essential gcc git unzip; do s=$(dpkg-query -f '${db:Status-Status}' -W "$p" 2>/dev/null) [ "$s" = installed ] && echo "PRESENT $p" || echo "absent $p" done