cpuid command not found

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

Introduction

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

cpuid: command not found

or when using sudo you get the following error message

sudo: cpuid: command not found

Solutions to cpuid: command not found

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

In Ubuntu cpuid is provided by cpuid package.

cpuid is:

cpuid dumps detailed information about the CPU(s) gathered from the CPUID instruction, and also determines the exact model of CPU(s). It supports Intel, AMD, and VIA CPUs, as well as older Transmeta, Cyrix, UMC, NexGen, Rise, and SiS CPUs.

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

sudo apt-get -y install cpuid

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

You can also use apt command to install cpuid.

sudo apt -y install cpuid

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

sudo aptitude install cpuid

Summary

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