There is no new way. vcgencmd is present on all of my recent bookworm installs.It used to be that one could read the CPU temp using "vgencmd" command. But, looks like it is not there anymore on a fresh Bookworm install.
What is the new way of doing this?
I don't have libraspberrypi-bin installed.I don't want to install "libraspberrypi-bin", because it tries to uninstall whole bunch of existing apps.
Have you done any customisations to your install? Is it a straight Raspberry Pi OS installation? 64-bit or 32-bit?
As an alternative you could use the /sys interface
Code:
rpdom@raspi9:~ $ vcgencmd measure_temp temp=46.7'Crpdom@raspi9:~ $ cat /sys/class/thermal/thermal_zone0/temp46160Statistics: Posted by rpdom — Sun Aug 10, 2025 10:01 am