How To Install pcm on Fedora 36

In this tutorial we learn how to install pcm in Fedora 36. pcm is Processor Counter Monitor

Introduction

In this tutorial we learn how to install pcm on Fedora 36.

What is pcm

Processor Counter Monitor (PCM) is an application programming interface (API) and a set of tools based on the API to monitor performance and energy metrics of Intel(r) Core(tm), Xeon(r), Atom(tm) and Xeon Phi(tm) processors. PCM works on Linux, Windows, Mac OS X, FreeBSD and DragonFlyBSD operating systems.

We can use yum or dnf to install pcm on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pcm.

Install pcm on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install pcm using dnf by running the following command:

sudo dnf -y install pcm

Install pcm on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install pcm using yum by running the following command:

sudo yum -y install pcm

How To Uninstall pcm on Fedora 36

To uninstall only the pcm package we can use the following command:

sudo dnf remove pcm

pcm Package Contents on Fedora 36

/usr/bin/pcm-client
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/aa3199ceb0d1fa0e034e5b69dbbf2f1047f20c
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/ae5c3a47e141c24fbcd4f1856cb3d6231ee591
/usr/lib/.build-id/15
/usr/lib/.build-id/15/1c5d590df275c5e9a3bff02afaaeed521d4b81
/usr/lib/.build-id/15/6d53cf46c31b8dee780c66a8f18ab776c65779
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/d75e3391ed9db48e2d68484cd78b248559368c
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/a811a45218a661b9023de08214bf83b752ca19
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/bafdf7885bd378b69445f77c686bff15f99322
/usr/lib/.build-id/52
/usr/lib/.build-id/52/89a9c27e3a1044c9b1e86bc66e705d3027ca42
/usr/lib/.build-id/57
/usr/lib/.build-id/57/bc467d742fee61f5744e9c0edc30e65ed4b3db
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/f6bb24f07aa9532e66dfd7fca35a29af501615
/usr/lib/.build-id/71
/usr/lib/.build-id/71/5980668d5693cdbc8bba05b9840ac7216e0cc1
/usr/lib/.build-id/73
/usr/lib/.build-id/73/55a68bedf31fe172a23d78919e2ac95d17d56a
/usr/lib/.build-id/78
/usr/lib/.build-id/78/ac7d808a3abb2ba47977d6262af6730ca1cb57
/usr/lib/.build-id/89
/usr/lib/.build-id/89/ba9654db20a5c9d1043e3902b29617b1cbac78
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/fe1c21207d2aab58cbb8546f22d79548f78ee8
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/7b85ffc4345f685f88a18cef56d058d8632059
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/d6032a4c0003520bcbd73d80b4cc397914d890
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/bbb29936637182bd8a5e01966373959371afdd
/usr/sbin/pcm
/usr/sbin/pcm-bw-histogram
/usr/sbin/pcm-core
/usr/sbin/pcm-daemon
/usr/sbin/pcm-iio
/usr/sbin/pcm-latency
/usr/sbin/pcm-lspci
/usr/sbin/pcm-memory
/usr/sbin/pcm-mmio
/usr/sbin/pcm-msr
/usr/sbin/pcm-numa
/usr/sbin/pcm-pcicfg
/usr/sbin/pcm-pcie
/usr/sbin/pcm-power
/usr/sbin/pcm-raw
/usr/sbin/pcm-sensor
/usr/sbin/pcm-sensor-server
/usr/sbin/pcm-tsx
/usr/share/doc/pcm
/usr/share/doc/pcm/FAQ.md
/usr/share/doc/pcm/LINUX_HOWTO.txt
/usr/share/doc/pcm/README.md
/usr/share/licenses/pcm
/usr/share/licenses/pcm/LICENSE
/usr/share/pcm
/usr/share/pcm/opCode-106.txt
/usr/share/pcm/opCode-134.txt
/usr/share/pcm/opCode-85.txt

References

Summary

In this tutorial we learn how to install pcm on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).