lm-sensors is the package name. Once you have it installed you can launch the command
(as root) to let the program find any sensors on your system and to determine which kernel modules have to be loaded to use those sensors.
After this one-time step is done the output of those sensors is shown when the command
is launched. For the second command you don't need to be root.