pcm-core command not found

In this troubleshooting guide we learn how to fix pcm-core command not found error message

Introduction

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

pcm-core: command not found

or when using sudo you get the following error message

sudo: pcm-core: command not found

Solutions to pcm-core: command not found

How To Fix pcm-core: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pcm-core is provided by pcm package.

pcm is:

Processor Counter Monitor is a set of tools to access various performance metrics provided by newer Intel processors. Such metrics include:

  • instructions per cycle
  • core frequencies
  • memory/interconnect/PCIe bandwidth
  • cache misses and utilization
  • time spent in C-states
  • thermal headroom
  • energy consumption
  • NUMA accesses and more.

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

sudo apt-get -y install pcm

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

You can also use apt command to install pcm.

sudo apt -y install pcm

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

sudo aptitude install pcm

Summary

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