systool command not found

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

Introduction

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

systool: command not found

or when using sudo you get the following error message

sudo: systool: command not found

Solutions to systool: command not found

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

In Ubuntu systool is provided by sysfsutils package.

sysfsutils is:

The sysfs is a virtual file system found in Linux kernels 2.5+ that provides a tree of system devices. This package provides the program ‘systool’ to query it, which can be used to list devices by bus, class, and topology.

In addition this package ships a configuration file /etc/sysfs.conf which allows one to conveniently set sysfs attributes at system bootup (via an init script).

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

sudo apt-get -y install sysfsutils

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

You can also use apt command to install sysfsutils.

sudo apt -y install sysfsutils

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

sudo aptitude install sysfsutils

Summary

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