sktest command not found

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

Introduction

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

sktest: command not found

or when using sudo you get the following error message

sudo: sktest: command not found

Solutions to sktest: command not found

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

In Ubuntu sktest is provided by libatasmart-bin package.

libatasmart-bin is:

A small and lightweight parser library for ATA S.M.A.R.T. hard disk health monitoring.

This package contains the following utilities:

  • skdump - a small tool that produces a similar output to smartctl -a
  • sktest - a small tool for starting/aborting S.M.A.R.T. self-tests

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

sudo apt-get -y install libatasmart-bin

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

You can also use apt command to install libatasmart-bin.

sudo apt -y install libatasmart-bin

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

sudo aptitude install libatasmart-bin

Summary

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