solid-hardware5 command not found

In this troubleshooting guide we learn how to fix solid-hardware5 command not found error message

Introduction

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

solid-hardware5: command not found

or when using sudo you get the following error message

sudo: solid-hardware5: command not found

Solutions to solid-hardware5: command not found

How To Fix solid-hardware5: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu solid-hardware5 is provided by libkf5solid-bin package.

libkf5solid-bin is:

Solid is a device integration framework. It provides a way of querying and interacting with hardware independently of the underlying operating system.

Solid is part of KDE Frameworks 5.

This package contains the solid-hardware5 tool.

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

sudo apt-get -y install libkf5solid-bin

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

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

sudo apt -y install libkf5solid-bin

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

sudo aptitude install libkf5solid-bin

Summary

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