How To Install sensors-applet on Ubuntu 20.04

In this tutorial we learn how to install sensors-applet on Ubuntu 20.04. sensors-applet is Display readings from hardware sensors in your Gnome panel

Introduction

In this tutorial we learn how to install sensors-applet on Ubuntu 20.04.

What is sensors-applet

sensors-applet is:

GNOME Sensors Applet is an applet for the GNOME panel that displays readings from hardware sensors, including temperatures, fan speeds and voltage readings.

It can gather data from the following sources:

  • ACPI thermal zones, via the Linux kernel ACPI modules
  • Linux kernel i2c modules
  • lm-sensors (libsensors)
  • Linux kernel i8k module (for Dell Inspiron Laptops)
  • Linux kernel ibm-acpi module
  • Linux kernel PowerPC modules therm_adt746x and therm_windtunnel
  • Linux kernel iMac G5 Windfarm module
  • hddtemp daemon for reading temperatures from S.M.A.R.T. equipped hard disks
  • Linux kernel Omnibook module
  • NVIDIA graphics cards (supplied with nvidia-settings)
  • Linux kernel sonypi module (for Sony Vaio laptops)

Alarms can be set for each sensor to notify the user once a certain high or low value has been reached, and can be configured to execute a given command at given repeated intervals.

There are three methods to install sensors-applet on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install sensors-applet Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install sensors-applet using apt-get by running the following command:

sudo apt-get -y install sensors-applet

Install sensors-applet Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install sensors-applet using apt by running the following command:

sudo apt -y install sensors-applet

Install sensors-applet Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install sensors-applet using aptitude by running the following command:

sudo aptitude -y install sensors-applet

How To Uninstall sensors-applet on Ubuntu 20.04

To uninstall only the sensors-applet package we can use the following command:

sudo apt-get remove sensors-applet

Uninstall sensors-applet And Its Dependencies

To uninstall sensors-applet and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove sensors-applet

Remove sensors-applet Configurations and Data

To remove sensors-applet configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge sensors-applet

Remove sensors-applet configuration, data, and all of its dependencies

We can use the following command to remove sensors-applet configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge sensors-applet

References

Summary

In this tutorial we learn how to install sensors-applet package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.