blktool command not found

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

Introduction

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

blktool: command not found

or when using sudo you get the following error message

sudo: blktool: command not found

Solutions to blktool: command not found

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

In Ubuntu blktool is provided by blktool package.

blktool is:

blktool is used for querying and/or changing settings of a block device. It is like hdparm but a more general tool, as it works on SCSI, IDE and SATA devices.

This program is for those who know what they’re doing and it should be used at your own risk as it could cause damage to your hardware.

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

sudo apt-get -y install blktool

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

You can also use apt command to install blktool.

sudo apt -y install blktool

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

sudo aptitude install blktool

Summary

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