cpu-x command not found

In this troubleshooting guide we learn how to fix cpu-x command not found error message

Introduction

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

cpu-x: command not found

or when using sudo you get the following error message

sudo: cpu-x: command not found

Solutions to cpu-x: command not found

How To Fix cpu-x: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cpu-x is provided by cpu-x package.

cpu-x is:

CPU-X is similar to CPU-Z (for MS Windows). It can be used in graphical mode by using GTK or in text-based mode by using NCurses. A dump mode is present from the command line.

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

sudo apt-get -y install cpu-x

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

You can also use apt command to install cpu-x.

sudo apt -y install cpu-x

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

sudo aptitude install cpu-x

Summary

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