gsmartcontrol command not found

In this troubleshooting guide we learn how to fix gsmartcontrol command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

gsmartcontrol: command not found

or when using sudo you get the following error message

sudo: gsmartcontrol: command not found

Solutions to gsmartcontrol: command not found

How To Fix gsmartcontrol: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gsmartcontrol is provided by gsmartcontrol package.

gsmartcontrol is:

GSmartControl is a graphical user interface for smartctl, which is a tool for querying and controlling SMART (Self-Monitoring, Analysis, and Reporting Technology) data on modern hard disk drives. It allows you to inspect the drive’s SMART data to determine its health, as well as run various tests on it.

Features:

  • automatically reports and highlights any anomalies;
  • allows enabling/disabling Automatic Offline Data Collection;
  • allows enabling/disabling SMART itself;
  • supports configuration of global and per-drive options for smartctl;
  • performs SMART self-tests;
  • displays drive IDs, capabilities, attributes, and self-test/error logs;
  • can read in smartctl data from a saved file, interpreting it as a read-only virtual device.

To fix this problem, we can install more using the command below.

sudo apt-get -y install gsmartcontrol

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install gsmartcontrol.

sudo apt -y install gsmartcontrol

Or if you have aptitude installed you can use the following command.

sudo aptitude install gsmartcontrol

Summary

In this tutorial we learn how to fix gsmartcontrol command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.