smart-notifier command not found

In this troubleshooting guide we learn how to fix smart-notifier command not found error message

Introduction

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

smart-notifier: command not found

or when using sudo you get the following error message

sudo: smart-notifier: command not found

Solutions to smart-notifier: command not found

How To Fix smart-notifier: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu smart-notifier is provided by smart-notifier package.

smart-notifier is:

A graphical notifier for smartmontools which attempts to show messages from the smartd disk monitoring daemon to the user. Currently only for gtk.

WARNING: This package is not a replacement for regular backups. It will try to warn the user when smartd sends a disk health warning. But success is not guaranteed. At best this package is an extra layer of protection.

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

sudo apt-get -y install smart-notifier

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

You can also use apt command to install smart-notifier.

sudo apt -y install smart-notifier

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

sudo aptitude install smart-notifier

Summary

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