Linux: Display the CPU temperature

December 2016

The temperature of the CPU can be directly viewed via the Linux console. All you need is to download the appropriate packages.

Download and install the package

  • To display the CPU temperature, you have to download the "'
    " package.
  • Open a terminal and type the following command: "
    sudo apt-get install Im-sensors
  • Type the following command to enable this feature:
    • sudo sensors-detect
  • Confirm all options with "Yes"
  • To display CPU temperature in the console:
    • Run the following command: "

Related :

This document entitled « Linux: Display the CPU temperature » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.